Virtual service is not created from Swagger 3.0 which include x-components
search cancel

Virtual service is not created from Swagger 3.0 which include x-components

book

Article ID: 212712

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Even with the  Swagger 3.0 patch, we are not able to create VS. 

Environment

Release : 10.6

Component : CA Service Virtualization

Cause

In the yaml file, there were $ref definitions in the "parameters:" part like:

parameters:

- $ref: '../common/commonComponents.yaml#/components/parameters/x-messageId'

- $ref: '../common/commonComponents.yaml#/components/parameters/x-appCorrelationId'

- $ref: '../common/commonComponents.yaml#/components/parameters/x-originatingSystemId'

- $ref: '../common/commonComponents.yaml#/components/parameters/x-originatingDeviceId'

- $ref: '../common/commonComponents.yaml#/components/parameters/x-consumerType'

- $ref: '../common/commonComponents.yaml#/components/parameters/x-channelType'

These are not part of schema.

Resolution

DevTest cannot resolve the x-components specified as parameters in the example described, and this is not supported.