Closed wanglihui closed 1 year ago
@wanglihui hi! Object config.URL
contains full URL address
@wanglihui hi! Object
config.URL
contains full URL address
i see defaultConfig.URL is "doc.json". i think that you expect developer to pass like "swagger.json" , not full URL.
@wanglihui hi! Object
config.URL
contains full URL addressi see defaultConfig.URL is "doc.json". i think that you expect developer to pass like "swagger.json" , not full URL.
and i think that set the default URL to "swagger.json" will be more better. since other framework's openapi mount url is swagger.json,thanks!
Is there any open issue for this PR ?
Any progress here?
Update swagger.go to support self define swagger.json mount url. now the default url is doc.json, and hard code switch case doc.json