Closed bravo-kernel closed 8 years ago
DocsController should generate the three fields used by Swagger-UI to generate and show the Base Url:
DocsController
basePath="/v0", host="your.api.local", schemes={"http", "https"},
NEVER specify these fields in the source code annotations as this will break deploying your app to environments using no/different basePath.
Update: Only schemes should be configurable, basePath and host can be fetched realtime.
schemes
basePath
host
More information:
DocsController
should generate the three fields used by Swagger-UI to generate and show the Base Url:Update: Only
schemes
should be configurable,basePath
andhost
can be fetched realtime.More information: