YAML file for Apigee Proxy

Is there a way(tool/software) to generate yaml file for my API proxy ? The yaml should include both request and response.

0 5 341
5 REPLIES 5

Are you referring yaml file for Apigee apiproxy source bundle or the OpenAPI spec for the deployed proxy endpoint?

Thanks

OpenAPI spec for the deployed proxy endpoint

Checkout this opensource tool.

After the initial version is generated you might need to update based on your proxy conditional flows which the tool doesn't cover well. And the requests/response payload defns in the yaml has to be added.

Thanks

Is there no tool , software which is web based or CLI , to generate yaml which will give me request and response both in the yaml file.

No. Also keep in mind, your Apigee API Proxy configuration is limited to flows/conditional flows ie at most a combination of PATH and VERB if anything.. it doesn't define the actual request/response payloads.