Retrieve OAS Spec using the Edge Management API

I would like to retrieve the OAS 3 specification for API Proxies using the Edge Management API. This would then be consumed by a third party application.

Does anyone know if this Is this currently possible?

I have not found a solution having read the Edge Management API documentation.

Thanks.

Solved Solved
0 3 303
1 ACCEPTED SOLUTION

Yes, You can do it. It's possible to use APIs to POST, GET, and modify specs.

The APIs related to specs are rated as "experimental" and are not publicly documented. The reason is: We can foresee some changes coming in the future which are likely to impact the APIs, and we don't want to document them and then need to deprecate documented APIs.

Despite all of that , it's not too difficult if you make the effort to use Chrome dev tools (or similar for other browsers) to discover the APIs that are required to get the specs.

View solution in original post

3 REPLIES 3

The spec wouldn't necessarily need to be in OAS format, the most important thing is to retrieve the specification itself.

If not possible, are there plans to provide this in the near future?

Yes, You can do it. It's possible to use APIs to POST, GET, and modify specs.

The APIs related to specs are rated as "experimental" and are not publicly documented. The reason is: We can foresee some changes coming in the future which are likely to impact the APIs, and we don't want to document them and then need to deprecate documented APIs.

Despite all of that , it's not too difficult if you make the effort to use Chrome dev tools (or similar for other browsers) to discover the APIs that are required to get the specs.