According to Swagger document at Overriding Global Servers, I can override global servers but with x-servers from ReDoc, is not work.
x-servers:
- url: //example.com/api/
description: Default server
paths:
/oauth/get_token:
x-servers:
- url: https://authen.example.com
description: Override base path for all operations with the /files path
Can anyone tell me the way to override x-servers URL? Or just customise server for specific paths
Any idea?
@vietnguyen010 thanks. This is not supported by ReDoc yet.
Should be fixed with the next major release.
Any update on this feature? I'd hate to have to force this with JS.
It should work just fine with the latest [email protected]
Closing this issue.
Feel free to reopen if this is still not fixed
Most helpful comment
@vietnguyen010 thanks. This is not supported by ReDoc yet.
Should be fixed with the next major release.