apigateway: Deployment of model without any required field fails #27433
Labels
@aws-cdk/aws-apigateway
Related to Amazon API Gateway
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
p3
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
When deploying an API Gateway Model validator without any required fields the deployment fails for this resource.
When I add any field to the required block the deployment works.
Expected Behavior
The deployment of the API Gateway Model succeeds.
Current Behavior
The deployment of the API Gateway Model fails and throws the following error.
Reproduction Steps
Deploy API Gateway Model:
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.99.1
Framework Version
No response
Node.js Version
v18.17.1
OS
Mac OS
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: