OpenAPI 3.0 vs Swagger 2.0 Virtualization

book

Article ID: 142136

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction

While creating Virtual Services using Swagger API 2.0, we are getting proper requests and responses in the VSI.

When using OpenAPI 3.0 definition files, We are getting proper Requests in the VSI. But Responses are not coming.

 

 

 

Cause

OpenAPI3.0 spec is not being supported with the swagger parser that we are shipping for versions DevTest 10.5 and under

Environment

Release : 10.5

Component : CA Service Virtualization

Resolution


Open a ticket with Broadcom Support,  Please refer to  DE439997  for versions 10.5 and under. 

We have a patch for this issue, Its there in our backlog to resolve in 10.6

Additional Information

STEPS TO APPLY

1. Stop all the services
2. Move the following 13 files to a location outside Lisa_Home


swagger-annotations-1.5.20.jar
swagger-annotations-2.0.1.jar
swagger-compat-spec-parser-1.0.36.jar
swagger-core-1.5.20.jar
swagger-core-2.0.1.jar
swagger-models-1.5.20.jar
swagger-models-2.0.1.jar
swagger-parser-1.0.22a.jar
swagger-parser-1.0.36.jar
swagger-parser-2.0.1.jar
swagger-parser-core-2.0.1.jar
swagger-parser-v2-converter-2.0.1.jar
swagger-parser-v3-2.0.1.jar
3. Unzip the contents of the zip file shared in "files from Broadcom folder" to LISA_HOME/lib/shared folder. These files are from Swagger 2.0.13

4. Start all the services

5. Use customer's YAML file of open API V3 spec and try creating a VS