Reputation: 143
I'm currently using https://github.com/apigee-127/swagger-tools for swagger documentation on my server. I also have client with proxy route to server as in when I'm on client if I do http://{client_url}/server will take to {server_url}. The problem is:
The swagger documentation comes pretty much fine if I load http://{server_url}/docs but not when I do http://{client_url}/server/docs . It just redirects to http://{client_url}/docs. Is there a way to set multiple base paths for swagger documentation ?
Upvotes: 1
Views: 693
Reputation: 5376
I think that swagger-combined v1.2 can help you.
if you config "base_path" and "route_match" correctly, I will work perfectly for you.
Upvotes: 1