We have two environments currently, staging and production. In both of these environments we would like to make use of the same specification URL but the api calls should use a different base url.
So for example the specification file is located at:
We already change our OpenAPI specification file to contain two servers and we creating a new query resource of type OpenAPI we're now able to select a server. The problem now is that this setting is not saved depending on the selected environment.
When we change the server for staging it will also be changed to that same server for production. So at this point we get stuck in our approach to have two different server urls. Is there a way to set the server depending on the environment or is this a bug/missing feature? Can this be implemented?