Layer7 API Management

Expand all | Collapse all

How to implement Swagger in Layer7

Jump to Best Answer
  • 1.  How to implement Swagger in Layer7

    Posted 06-20-2017 12:17 AM

    Hi All,

     

      I have a requirement to implement swagger from Layer7. Could you please suggest how to make a swagger from API gateway.

     

      I have below mock URLs.

      1. WSDL  -- http://www.thomas-bayer.com/axis2/services/BLZService?wsdl 

      2. REST   -- http://services.groupkt.com/state/get/{countryCode}/all 

     

      As far as i understood we cant make swagger from WSDL. Swagger is specifically designed for using REST API.

      Lets take 2nd one REST--- Once you pass countryCode it will return all states information from the country. Now i need to make the swagger in Layer7.

     

    Please suggest me how to implement this.



  • 2.  Re: How to implement Swagger in Layer7

    Posted 06-20-2017 11:09 PM

    Hi All,

     

          Can anybody help me on this?

     

    Regards

    Rajasekhar



  • 3.  Re: How to implement Swagger in Layer7
    Best Answer

    Posted 06-21-2017 02:36 AM

    Hello Rajasekhar,

     

    You can only publish a service in CA API Gateway based on available swagger document.You cannot create/download a swagger document for your api in CA API Gateway .

    You can create a swagger document for your api online .[http://swagger.io/ ].

     

    Cheers,

    Adarsh



  • 4.  Re: How to implement Swagger in Layer7

    Posted 06-21-2017 05:49 AM

    Great...

    Thanks for your information. it helps alot