g-pelletier

Results comments of g-pelletier

A temporary solution could be to add a partial DefinitionBody in your ApiGateway resource : ``` DefinitionBody: swagger: 2.0 x-amazon-apigateway-request-validators: basic: validateRequestBody: true validateRequestParameters: true x-amazon-apigateway-request-validator: basic paths: /request-path: post:...

You can generate partial swagger doc. I just did in our templates that needed request body verification. What I posted is exactly what I used combined with something similiar as...

Sorry, by partial, I meant that you don't need to write the full API code to have it working. SAM will append the other parts, such as Models and Authorizers.

From this doc : https://docs.aws.amazon.com/apigateway/latest/developerguide/aws-api-gateway-stage-variables-reference.html#stage-variables-in-mapping-templates it seems that it can be used anywhere in the template.

Thanks guys. Sorry for the delay, yes, we provided a Step Machine with Step functions in our ca-central-1 infrastructure.