Closed bg-o closed 9 years ago
This is actually going to be a lot easier to do in 4.0.0
because the entire api document is exposed under app.swagger
.
I am going to go ahead and close this since it will no longer be necessary after the merge of https://github.com/krakenjs/swaggerize-express/pull/60.
Since host cannot include subpaths, as defined in official swagger specs, this is necessary if your web apps are behind the same url. Example: http://my.platform.com/mywebapp/. In that case basePath used for generation is empty and basePath used externally is mywebapp.
Extract from official spec: