- To easily manage a 1 big swagger file in to small multiple files
- Merge and Generate a single swagger from multiple files
- Serverless plugin you can integrate to your serverless configuration to automatically generate swagger upon packing or deploying
custom:
sesamSwaggerConfig:
rootFile: "./deploy/swagger/swaggerRootFile.json" # the root file path of the swagger
outputFile: "./deploy/swagger-deploy.json" # the file path of the output swagger file
$ serverless generate-sesam-swagger -i <filepath of the root file> -o <filepath of the output swagger file>
- swagger-merger - This plugin is written on top of this library. You can use this library documentation for guidelines on how to write your own swagger in modular form.
Sesam developers: