Service Virtualization

  • 1.  SWAGGER HTML Convert to JSON

    Posted May 24, 2018 06:34 AM

    Does anyone recommend utility which would allow me to import Swagger URL then export to JSON?

     

    I've tried importing LISA Invoke API http://localhost:1505/api/swagger/  using Swagger Editor(Swagger Editor) and Swagger Hub(Build, Collaborate & Integrate APIs | SwaggerHub ) without success however importing http://petstore.swagger.io/v2/swagger.json  works



  • 2.  Re: SWAGGER HTML Convert to JSON
    Best Answer

    Broadcom Employee
    Posted Jun 04, 2018 04:20 PM

    What you are trying to do and which version of DevTest are you using?

    . If you want to load the Swagger doc then you can use the REST Step and try a GET call on the Swagger URL. REST Step documentation is available at REST Step - DevTest Solutions - 10.3 - CA Technologies Documentation 

    . If you want to create a VS using Swagger doc then you can do that using Workstation or Portal. Please refer the below documentation.

    - Create a Service Image from Swagger 2.0 - DevTest Solutions - 10.3 - CA Technologies Documentation 

    - Create Virtual Services from Swagger - DevTest Solutions - 10.3 - CA Technologies Documentation 

    - Tutorial 6: Virtual Service from Swagger - DevTest Solutions - 10.3 - CA Technologies Documentation 



  • 3.  Re: SWAGGER HTML Convert to JSON

    Posted Jun 05, 2018 06:06 AM

    Steven,

    Did Prema's recommendations help you out with your question?