What stacktrace or error message from your provider did you see?
CREATE_FAILED: ApiGatewayMethodProcessPost (AWS::ApiGateway::Method)
Parameter validation failed:
Invalid type for parameter selectionPattern, value: 200, type: <class 'int'>, valid types: <class 'str'>
Similar or dependent issues:
NA
Additional Data
Serverless Framework Core Version you're using: 3.34.0
The Plugin Version you're using: 3.17.0
Operating System: MacOS
Stack Trace:
Provider Error messages: Invalid type for parameter selectionPattern, value: 200, type: <class 'int'>, valid types: <class 'str'>
This is a Bug Report
Description
For bug reports:
Similar or dependent issues:
Additional Data
I checked the code and found it is defined in int not string. Does anyone face the same issue? Could I create PR for it? https://github.com/serverless-operations/serverless-step-functions/blob/8772ae7d8662b80bc584342cc39e48fc6f9c6a53/lib/deploy/events/apiGateway/methods.js#L199