From 5ebff399777548a6361317d939932e0d1619c347 Mon Sep 17 00:00:00 2001 From: Niranjan Jayakar <16217941+nija-at@users.noreply.github.com> Date: Tue, 3 Mar 2020 12:23:31 +0000 Subject: [PATCH] docs(apigateway): incorrect docs for requestTemplate property (#6124) * docs(apigateway): incorrect docs for requestTemplate property closes #5997 * code fence * code fence Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- packages/@aws-cdk/aws-apigateway/lib/integration.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/@aws-cdk/aws-apigateway/lib/integration.ts b/packages/@aws-cdk/aws-apigateway/lib/integration.ts index 8baa3fb96bd9d..30561ba4ce061 100644 --- a/packages/@aws-cdk/aws-apigateway/lib/integration.ts +++ b/packages/@aws-cdk/aws-apigateway/lib/integration.ts @@ -71,7 +71,9 @@ export interface IntegrationOptions { * the key, and the template is the value (specified as a string), such as * the following snippet: * - * { "application/json": "{\n \"statusCode\": \"200\"\n}" } + * ``` + * { "application/json": "{ \"statusCode\": 200 }" } + * ``` * * @see http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html */