Layer7 API Management

  • 1.  Can we use SWAGGER with CA LAYER7

    Posted Jul 08, 2016 12:46 AM
    Hello Everyone,

     

     

     

     

    Can anyone please help me in getting the answers below in details:

     

     

     

     

    -- Is there a support for SWAGGER on Layer7 i.e. does CA Layer 7 provide a provision to use swagger?

     

     

    -- Could we “export” API’s implemented via policy on Layer 7 as a “swagger file” or import a swagger file into Layer 7 ?

     

     


     

     

    Thanks in advance.

     



  • 2.  Re: Can we use SWAGGER with CA LAYER7
    Best Answer

    Broadcom Employee
    Posted Jul 08, 2016 11:36 AM

    Hi

     

    Version 9.1 allows you to publish an API using a swagger document.

     

    Version 9.0 allows you to validate against a swagger document.

     

     

     

    Derek Orr

    ca technologies

    Principal Consultant, CA API Management Presales

    m: 778-980-0029

    Email = Derek.Orr@ca.com<mailto:Derek.Orr@ca.com>

     

    CA API Management Community: https://communities.ca.com/community/ca-api-management-community



  • 3.  Re: Can we use SWAGGER with CA LAYER7

    Posted Jul 08, 2016 11:55 AM

    Hi Derek,

     

    Thanks for reply.

     

    Can you please suggest some documents for the reference i.e. how can i use Swagger with Layer7 as I am completely unaware of this topic.



  • 4.  Re: Can we use SWAGGER with CA LAYER7

    Broadcom Employee
    Posted Jul 08, 2016 04:04 PM

    A new wizard in 9.1 lets you create a service endpoint on the Gateway that is protected/defined by a Swagger document.

    Publish Swagger Service Wizard - CA API Gateway - 9.1 - CA Technologies Documentation

     

    Information about the assertion that validates requests against the API from a Swagger document:

    Validate Against Swagger Document Assertion - CA API Gateway - 9.1 - CA Technologies Documentation



  • 5.  Re: Can we use SWAGGER with CA LAYER7

    Posted Jul 09, 2016 03:17 AM

    Thanks alot Simon..



  • 6.  Re: Can we use SWAGGER with CA LAYER7

    Posted Nov 29, 2016 11:43 AM

    Sorry, but there is a interesting question unanswered:
    - Could we “export” API’s implemented via policy on Layer 7 as a “swagger file”?

    (For example, in CA API Gateway version 9.0).

    Thanks.



  • 7.  Re: Can we use SWAGGER with CA LAYER7

    Broadcom Employee
    Posted Nov 30, 2016 07:04 PM

    Javier,

     

    The functionality to download a swagger document from the gateway for a specific service does not exist. There is an idea already created for doing this through the portal (Option to download Swagger file ) but not for the gateway. I would recommend that you create an idea for this functionality with any use cases that you can provide.

     

    Sincerely,

     

    Stephen Hughes

    Director, CA Support



  • 8.  Re: Can we use SWAGGER with CA LAYER7

    Posted Jul 10, 2016 08:19 PM

    i had lots of hopes for this swagger wizard but it just produced a single end point policy whereas I in my wisdom took this policy and with the help of  regex and restman parsed the swagger and yes actually produced proxies web api policies  that validate  for each endpoint in the swagger file .... or am i missing something and the wizard  is actually a wizard not  just a wizards apprentice :-)



  • 9.  Re: Can we use SWAGGER with CA LAYER7

    Broadcom Employee
    Posted Jul 11, 2016 01:06 PM

    Think "Wizard of Oz" wizard. ;-) 

    I can only say there is swagger development work being done at the moment. So hopefully the current level one magic missile attack will be updated into something more potent like a fireball.  



  • 10.  Re: Can we use SWAGGER with CA LAYER7

    Posted Nov 30, 2017 11:30 AM

    I am very interested in the 2nd part of the original question, "-- Could we “export” API’s implemented via policy on Layer 7 as a “swagger file” or import a swagger file into Layer 7 ?", which I don't think has been answered.  

     

    Is there some way to automatically generate a new swagger document (or possibly even a skeleton) for a rest service that is running on a SSG/CA API Gateway?