swagger-express-ts
swagger-express-ts copied to clipboard
Multiple swagger.json
Hello,
Is it possible to generate multiple swagger.json and serve them. Exemple : module1.swagger.json module2.swagger.json
For a big api it would be handy to filter it by modules or something else.
Thanks, Matthieu
Hello @MatthieuFereyre,
Today it's not possible to generate multiple swagger.json. What do you propose ? Can you give us an example ?
Hi @olivierlsc , same need here. We have a service with multiple modules where each module has its own purpose. One module is for internal administration, another one is specialized for our partners. We would like to have swagger documentation for the internal endpoints but don't want to expose them to our partners. Also, every partner has its own set of endpoints, so every partner needs to have different documentation.