serverless-swagger-api icon indicating copy to clipboard operation
serverless-swagger-api copied to clipboard

Requirement of additional nesting in serverless.yml should cause a major version change

Open jaredready opened this issue 6 years ago • 1 comments

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.

jaredready avatar Sep 18 '19 21:09 jaredready

This doesn't work.

MAS150MD200 avatar Oct 25 '19 00:10 MAS150MD200