Generate OpenAPI Specification From Existing API Proxy in Apigee Edge

Not applicable

A couple of things to get out the way

  • Our Apigee instance is hosted locally
  • API Proxies are already in place, not developed first from a specification
  • While we have SmartDocs enabled, they do not contain information about the API proxies we're looking at
  • The specification is to be automatically consumed by a C# app with no Node capabilities, so Node tools are out
  • I'm new to all this, so go easy on me 🙂

I'm looking for a way to access a JSON specification of an API proxy we have set up in Apigee Edge. This JSON should always reflect the current state of the API proxy and will be consumed by a tool that will generate proxies in a C# project.

I expected it would be as simple as querying a URL somewhere around where the API itself is exposed, and if it is I'm having a hell of a time finding it, having scoured Google for answers. Does it exist? If not, does anyone have any other suggestions?

1 1 1,939
1 REPLY 1

It's not as simple as querying a URL.

But, Here's an article describing a command-line tool that does what you describe.