Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Extract Swagger Doc from within the same api proxy.

Hello, Is there a way to extract the Swagger Spec(OAS) used to create the api proxy, from within the same api proxy itself. Using policies or something else?

Eg:

1. You have a swagger doc called "A" to create a proxy "P1"

2. Is there any policy or any way to extract the swagger doc "A" inside "P1" and use it as an input to another proxy "P2" or something?

Basically i wanna extract the swagger from within the proxy, i don't want to give it manually.

Note: I might not have phrased this question correctly, So, thank you for understanding and helping me out.

0 2 375
2 REPLIES 2