serverless-swagger-api
serverless-swagger-api copied to clipboard
Requirement of additional nesting in serverless.yml should cause a major version change
A breaking change was made which changed the configuration of the plugin to go from:
custom:
swaggerApi:
ApiGatewayRestApi:
Name: foo-api
Body: ${file(./api/foo-service.yaml)}
To:
custom:
swaggerApi:
apis:
ApiGatewayRestApi:
Name: foo-api
Body: ${file(./api/foo-service.yaml)}
This causes builds that were once working to start failing, thus warranting a major version bump.
This doesn't work.