Description
I'm very excited to see the automation involved in this repository to ensure the definitions are kept up to date. However, tracing the origin of the definitions is quite hard because the documentation just states
It aims to automate service file TypeScript definitions based on JSON-schema used by serverless/serverless for validation at the beginning of any Serverless CLI command
However, trying to find which JSON schemas this repo uses is very hard, since there is no mention of where these schemas are on:
- README on https://github.com/serverless/serverless
- assets on each release (e.g. https://github.com/serverless/serverless/releases/tag/v2.70.0)
- this repo
With some digging, I found https://github.com/serverless/serverless/blob/739045d9bb03ddefcacceca0bd39f188517b187d/lib/plugins/aws/provider/awsProvider.js#L235 but this doesn't seem to match the TS definitions, so it is probably not the right one.
Specifically, I am trying to find what the purpose of the outputs
object at the root level is (not to be confused with the expected resources.Outputs
object), but cannot answer this question easily.
I'd appreciate any clarification on the JSON schemas used, thanks!