threadheap / serverless-ide-vscode

Serverless IDE: Enhanced support for AWS SAM and CloudFormation in VS Code
https://serverless-ide.com/
195 stars 45 forks source link

Lambda schedule event input schema #209

Closed jer-sen closed 10 months ago

jer-sen commented 1 year ago

The schema here

https://github.com/threadheap/serverless-ide-vscode/blob/52279a31bdf599928812e04fbe9d0ee79684e610/packages/serverless-framework-schema/json/aws/functions/events/schedule.json#L28

is wrong and should be updated compared to

https://github.com/ojongerius/serverless/blob/c864fbd4826de27d2796e394b0a100c8d3add33e/lib/plugins/aws/package/compile/events/schedule.js#L28

In my case I need to pass a string containing a JSON representing a string (not an object) to events > schedule > input.