Version 9.1 allows you to publish an API using a swagger document.
Version 9.0 allows you to validate against a swagger document.
Principal Consultant, CA API Management Presales
Email = Derek.Orr@ca.com<mailto:Derek.Orr@ca.com>
CA API Management Community: https://communities.ca.com/community/ca-api-management-community
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.
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
Thanks alot Simon..
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).
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.
Director, CA Support
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 :-)
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.
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?