OpenAPI Spec in Apigee

can we use try out option after uploading spec and make a API call in Apigee as we do in traditional swagger. what to fill in APIkey in authorize

saikrishna09_0-1658229187826.png

 

0 1 65
1 REPLY 1

Looks like your question is for the Apigee Edge spec editor?

You should ensure your API specification includes an apikey security definition / security scheme, and that it's either globally enabled, or set for your path. You can refer to the appropriate one below depending on which version of openapi your spec is based on

https://swagger.io/docs/specification/authentication/api-keys/

https://swagger.io/docs/specification/2-0/authentication/api-keys/

Once this is in place, there should be at the top of the rendered spec an authorize button where you can provide the api key that will then be used on subsequent api calls via try it out. 

Screen Shot 2022-07-20 at 9.18.54 AM.pngScreen Shot 2022-07-20 at 9.18.48 AM.png