Skip to content

Aws provider apigateway schema#8383

Merged
medikoo merged 10 commits into
serverless:masterfrom
thewizarodofoz:aws-provider-apigateway-schema
Oct 14, 2020
Merged

Aws provider apigateway schema#8383
medikoo merged 10 commits into
serverless:masterfrom
thewizarodofoz:aws-provider-apigateway-schema

Conversation

@thewizarodofoz

@thewizarodofoz thewizarodofoz commented Oct 11, 2020

Copy link
Copy Markdown
Contributor

Closes: #8018

@codecov-io

codecov-io commented Oct 11, 2020

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.00%. Comparing base (661caad) to head (80f189e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8383      +/-   ##
==========================================
- Coverage   88.02%   88.00%   -0.02%     
==========================================
  Files         249      249              
  Lines        9278     9264      -14     
==========================================
- Hits         8167     8153      -14     
  Misses       1111     1111              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@medikoo medikoo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @thewizarodofoz ! Looks really good, please see my remarks

Comment thread lib/plugins/aws/provider/awsProvider.js
Comment thread lib/plugins/aws/provider/awsProvider.js
Comment thread lib/plugins/aws/provider/awsProvider.js Outdated
Comment on lines +35 to +36
limit: { type: 'integer' },
offset: { type: 'integer' },

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'll be nice to restrict minimum to 0

Comment thread lib/plugins/aws/provider/awsProvider.js Outdated
additionalProperties: false,
},
},
required: [],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not add empty required

@medikoo medikoo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @thewizarodofoz looks great! I've just commented on one last minor nuance, and we're ready to go!

Comment thread lib/plugins/aws/provider/awsProvider.js Outdated
Comment on lines +44 to +45
burstLimit: { type: 'integer' },
rateLimit: { type: 'integer' },

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also put minimum: 0 on those

@medikoo medikoo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @thewizarodofoz !

@medikoo
medikoo merged commit e51e0f2 into serverless:master Oct 14, 2020
@thewizarodofoz
thewizarodofoz deleted the aws-provider-apigateway-schema branch October 14, 2020 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Config schema: Define AWS "http" function event properties

3 participants