5
OpenAPI Server Variables Should Be Imported as Environment Variables
Source: Kong/insomnia#4272 · opened by @ryanholden8
Is your feature request related to a problem? Please describe.
I'm surprised when importing from OpenAPI that the [server.variables]( are not imported as environment variables. Seems really easy to do.
Describe the solution you'd like
When I define something like:
I would expect to see:
![Screen Shot 2021-12-06 at 11 24 32 AM](
Describe alternatives you've considered
Not using Insomnia. We would prefer to stick to open standards as much as possible. Currently investigating if we can just use SwaggerUI web app or [VS Code extension]( since these have support for [OpenID Connect Discovery]( For some reason the Swagger UI inside Insomnia does not pick our security schemes. But that seems out of scope of this feature request.
Additional context
This is related to support multiple servers per the OpenAPI spec. See #3627
I'm surprised when importing from OpenAPI that the [server.variables]( are not imported as environment variables. Seems really easy to do.
Describe the solution you'd like
When I define something like:
I would expect to see:
![Screen Shot 2021-12-06 at 11 24 32 AM](
Describe alternatives you've considered
Not using Insomnia. We would prefer to stick to open standards as much as possible. Currently investigating if we can just use SwaggerUI web app or [VS Code extension]( since these have support for [OpenID Connect Discovery]( For some reason the Swagger UI inside Insomnia does not pick our security schemes. But that seems out of scope of this feature request.
Additional context
This is related to support multiple servers per the OpenAPI spec. See #3627
No pledges yet. Be the first to back this.
Comments
Similar requests
Allow usage of server variables other than default
1 vote · 0 comments
Redesign the environment variables
1 vote · 0 comments
Collection Specific Environment Variables Superseding Active Environment Variables
2 votes · 0 comments
support for command line environment variables
7 votes · 0 comments
Allow Environment variables as command line params to inso cli
7 votes · 0 comments
No comments yet.