Service Virtualization

Expand all | Collapse all

Swagger 1.2 specifications support

  • 1.  Swagger 1.2 specifications support

    Posted 10-25-2017 05:55 AM

    Hi

    We have DevTest 9.1 and just discovering it doesn't support swagger 1.2 version, but 2.0 !

    Therefore wondering which version of DevTest  can create a REST Virtual Service from a swagger 1.2 spec ?

     

    Thanks

    Philippe.



  • 2.  Re: Swagger 1.2 specifications support

    Broadcom Employee
    Posted 10-25-2017 11:29 AM

    Hi Philippe,

     

    Can you share your Swagger 1.2 spec?

     

    Thanks,

    Prema



  • 3.  Re: Swagger 1.2 specifications support

    Posted 10-25-2017 11:54 AM
      |   view attached

    Hi Prema,

     

    Here is a basic one attached (JSON)

     

    Philippe,



  • 4.  Re: Swagger 1.2 specifications support

    Broadcom Employee
    Posted 10-25-2017 05:44 PM

    I tried creating the VS using the Swagger spec you shared and got parsing issue. I am not sure the issue is related to Swagger 1.2 or specification it self.

    I tested the Swagger spec at Swagger Editor  and see errors. Can you validate swagger spec you shared?



  • 5.  Re: Swagger 1.2 specifications support

    Posted 11-08-2017 05:23 AM

    Hi Prema,

    Indeed I can see some parsing errors in the spec: I asked my Customer to fix it but it claimed it is correct ...

    So I will have to investigate versus the Swagger 1.2 specs



  • 6.  Re: Swagger 1.2 specifications support

    Posted 11-07-2017 11:37 AM

    Philippe,

     

    Can you respond to Prema's latest response?