-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
There doesn't appear to be a way to specify a relative basePath in 0.8.1. You can use the DemoPathProvider in the example project to set a custom basePath, but the ApiListingReferenceScanner class will try to make it into a URL. Because it uses the UriComponentsBuilder, it cannot handle relative paths.
Relative paths worked in 0.6.5 if you fixed a problem in the swagger.js file, and I don't see any reason in the code for it not to be possible in 0.8.1. They're important for those that use different port numbers and hosts when their app is deployed. Absolute paths are pretty useless in this context.