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.
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.