You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
According to the docs here: https://swagger.io/docs/specification/api-host-and-base-path/#overriding, it should be possible to override the global servers setting at the path or operation level. As far as I can tell the global URL set under servers is always used and can not be overridden in the code examples, or mentioned anywhere in the generated markdown.
Describe the bug
According to the docs here: https://swagger.io/docs/specification/api-host-and-base-path/#overriding, it should be possible to override the global servers setting at the path or operation level. As far as I can tell the global URL set under servers is always used and can not be overridden in the code examples, or mentioned anywhere in the generated markdown.
As an example if I set global servers like this:
then, override it like this in a path:
Then the code examples all still use the global servers url, like:
Expected behavior
I would expect to see the code examples use the overridden value:
Also somewhere in the body of the documentation it should show the url/server for the request.
Versions:
The text was updated successfully, but these errors were encountered: