Feature Request: Use the environment variables in the securityDefinitions within the OAS specification


(Agonzalez) #1

We usually work in different environments (production, staging, development…), normally we design the documentation in development, then it is tested in staging and when the new endpoints are ready to be used in production we publish the documentation simultaneously.

Even some of our developers write and test the documentation against their local development environments! I think we follow a fairly common workflow and adding this functionality to Stoplight would support it in addition to many others.

Environment configuration, OAS securityDefinitions and, Get Access Token Window examples: