Customise error message in api gateway cdk aws
I’ve created Stack, using AWS CDK, that extends cdk.Stack. In this stack I define lambda function to create product and define api gateway with method LambdaRestApi. Then I add request validator for this api, but I’m trying to get customised error message, if error occurs during body validation, not standard.