-
Hi. I am having some issues with the models section when deploying my API. Everything is deploying, but there seems to be a check that removes certain keys in the schema. Main ones I am having issues with adding are minProperties and maxProperties. Everything deploys but that those key value pairs are missing. I have tried the exact same schema with the AWS::ApiGateway::Model and it works fine. It seems to be an issue when the requested resources in the SAM template get converted to CloudFormation. Can someone please help? minLength and maxLength do work on strings also I tried. Also if I am doing it in the wrong way in SAM please do let me know. Although I do not think that is the issue as min and max Length do work as they should on the api model. This is an example of the schema tried in both AWS::Serverless::Api and AWS::ApiGateway::Model:
I have also tried |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
No solutions yet, but might be tangentially related: #1559. |
Beta Was this translation helpful? Give feedback.
-
Hi @hoffa ,
|
Beta Was this translation helpful? Give feedback.
-
Behavior arising from API Gateway; see #2708 (reply in thread). I've routed this issue internally. |
Beta Was this translation helpful? Give feedback.
Behavior arising from API Gateway; see #2708 (reply in thread). I've routed this issue internally.