We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when using openapi hosted by application server I expect that relative paths will resolve to the server host url instead of docs
The URLs in the servers array can be relative, such as /v2. In this case, the URL is resolved against the server that hosts the given OpenAPI definition. https://swagger.io/docs/specification/v3_0/api-host-and-base-path/#relative-urls
"openapi": { "source": "https://api.my-host.com/openapi", "directory": "api-reference" }
servers: - url: /api/v1
i expect that rendered docs will point to https://api.my-host.com/api/v1
https://api.my-host.com/api/v1
but they just call /api/v1 of hosted docs
/api/v1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
when using openapi hosted by application server I expect that relative paths will resolve to the server host url instead of docs
example
docs.json
/openapi
i expect that rendered docs will point to
https://api.my-host.com/api/v1
but they just call
/api/v1
of hosted docsThe text was updated successfully, but these errors were encountered: