Skip to content
New issue

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

Add basePath option to support custom basePath over server base URL #115

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

henhal
Copy link

@henhal henhal commented Nov 8, 2019

Adding an option basePath used to customize the base path on which all routes are mounted.
By default, the base path is derived from the server(s) defined in the OpenAPI specification, but this option may be used if the backend server implementing the API is mounting the routes on another path.

The basePath option enables ignoring the servers section of the
OpenApi document, and instead providing a custom basePath.
@henhal
Copy link
Author

henhal commented Nov 8, 2019

Fixes #113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant