<!-- ⚠️⚠️ Acknowledge ALL below remarks --> <!-- ⚠️⚠️ Request may not be processed if it doesn't meet outlined criteria --> <!-- ⚠️⚠️ Search existing issues to avoid creating duplicates --> <!-- ⚠️⚠️ Plugin enhancements should be proposed at plugin repository, not here --> <!-- ⚠️⚠️ Answer ALL required questions below --> <!-- Q1: Describe the problem (use case) that needs to be solved --> ### Use case description It'll be nice to have `httpApi` event fully covered by schema validation <!-- Q2: Propose solution (e.g. provide configuration example) Note: This is optional, remove this section if you do not wish to propose anything at this point --> ### Proposed solution 1. Define schema for following properties at `provider` level (that's part of #8022) - [x] `httpApi` - [x] `logs.httpApi` Should be done directly in: `lib/plugins/aws/provider/awsProvider.js`: https://github.com/serverless/serverless/blob/d403d9c6d3dccdfc9f79d7c42b3cbc1a06fcfac0/lib/plugins/aws/provider/awsProvider.js#L141-L142 2. Define schema of all `httpApi` event properties Should be done directly in: `lib/plugins/aws/package/compile/events/httpApi/index.js`: https://github.com/serverless/serverless/blob/d403d9c6d3dccdfc9f79d7c42b3cbc1a06fcfac0/lib/plugins/aws/package/compile/events/httpApi/index.js#L51-L54
Use case description
It'll be nice to have
httpApievent fully covered by schema validationProposed solution
providerlevel (that's part of Config schema: Define AWS "provider" properties #8022)httpApilogs.httpApiShould be done directly in:
lib/plugins/aws/provider/awsProvider.js:serverless/lib/plugins/aws/provider/awsProvider.js
Lines 141 to 142 in d403d9c
httpApievent propertiesShould be done directly in:
lib/plugins/aws/package/compile/events/httpApi/index.js:serverless/lib/plugins/aws/package/compile/events/httpApi/index.js
Lines 51 to 54 in d403d9c