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

Set hosting base path #77

Open
jonathan-dev opened this issue Jan 13, 2023 · 0 comments
Open

Set hosting base path #77

jonathan-dev opened this issue Jan 13, 2023 · 0 comments

Comments

@jonathan-dev
Copy link

jonathan-dev commented Jan 13, 2023

I have hosted my rest api behind a base path using apisix.
Its working all fine. The only problem is that i can't find where I can set a base path for the swagger UI so that it is loading the api description from the right place and the endpoints of the GUI are displayed correctly (with the base path so they actually work.

Update I found that I i can set the .addServer in the builder to include the base path. but I still have not found where I can set the default search field value of the swagger UI to include the base path.

Thanks in advance.

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

No branches or pull requests

1 participant