Skip to content

Commit

Permalink
docs(apigateway): incorrect docs for requestTemplate property (#6124)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
nija-at and mergify[bot] authored Mar 3, 2020
1 parent 5e15343 commit 5ebff39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/@aws-cdk/aws-apigateway/lib/integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 5ebff39

Please sign in to comment.