how to retrieve the swagger spec associated with a revision of an API Model

Is there a Management API call or another way to retrieve the Swagger file that was imported to a particular revision of an API model from the developer portal.?

We are trying to retrieve the swagger specs for all the API models in the developer portal

0 1 236
1 REPLY 1

Unfortunately not in the product, if you are talking about the SmartDocs embedded into Drupal 7. The Apigee Edge API is used to store the model and that API does not have a way to pull down a spec in OpenAPI format.

However, you can try SmartDocs2OpenAPI.php, a script in open source created by ossobuffo to convert it.