1
Add an environment variable for tokenURL
Source: Kong/insomnia#4068 · opened by @MartinThoma
When I read my OpenAPI 3.0.3 yaml file, I have one oauth2 security scheme defined. This one has a tokenURL which is added as plain text to every endpoint that uses this security scheme.
This is not so nice as I have multiple environments on which I test the same API. This means I have to go through every single endpoint and make this a variable to be able to test the API properly.
It would be super nice if relative URLs worked and the base_url environment variable was used. However, relative URLs seem not to be allowed for [security scheme objects](
Is it maybe possible to write the OpenAPI doc in a way to make this relative, e.g. using a [servers object](
This is not so nice as I have multiple environments on which I test the same API. This means I have to go through every single endpoint and make this a variable to be able to test the API properly.
It would be super nice if relative URLs worked and the base_url environment variable was used. However, relative URLs seem not to be allowed for [security scheme objects](
Is it maybe possible to write the OpenAPI doc in a way to make this relative, e.g. using a [servers object](
No pledges yet. Be the first to back this.
Comments
Similar requests
Collection Specific Environment Variables Superseding Active Environment Variables
2 votes · 0 comments
Redesign the environment variables
1 vote · 0 comments
Allow Environment variables as command line params to inso cli
7 votes · 0 comments
Set an environment variable depending on the last run endpoint
4 votes · 0 comments
New shortcut for Base Environment and/or mask Private environment variables on dialog open
2 votes · 0 comments
No comments yet.