mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Corrected typo in example on documentation page
This commit is contained in:
parent
070c34b311
commit
ecc06ca36f
@ -12,45 +12,46 @@ layout: Doc
|
||||
|
||||
# API Gateway
|
||||
|
||||
- [API Gateway](#api-gateway)
|
||||
- [Lambda Proxy Integration](#lambda-proxy-integration)
|
||||
- [Simple HTTP Endpoint](#simple-http-endpoint)
|
||||
- [Example "LAMBDA-PROXY" event (default)](#example-lambda-proxy-event-default)
|
||||
- [HTTP Endpoint with Extended Options](#http-endpoint-with-extended-options)
|
||||
- [Enabling CORS](#enabling-cors)
|
||||
- [HTTP Endpoints with `AWS_IAM` Authorizers](#http-endpoints-with-aws_iam-authorizers)
|
||||
- [HTTP Endpoints with Custom Authorizers](#http-endpoints-with-custom-authorizers)
|
||||
- [Catching Exceptions In Your Lambda Function](#catching-exceptions-in-your-lambda-function)
|
||||
- [Setting API keys for your Rest API](#setting-api-keys-for-your-rest-api)
|
||||
- [Configuring endpoint types](#configuring-endpoint-types)
|
||||
- [Request Parameters](#request-parameters)
|
||||
- [Request Schema Validation](#request-schema-validation)
|
||||
- [Setting source of API key for metering requests](#setting-source-of-api-key-for-metering-requests)
|
||||
- [Lambda Integration](#lambda-integration)
|
||||
- [Example "LAMBDA" event (before customization)](#example-lambda-event-before-customization)
|
||||
- [Request templates](#request-templates)
|
||||
- [Default Request Templates](#default-request-templates)
|
||||
- [Custom Request Templates](#custom-request-templates)
|
||||
- [Pass Through Behavior](#pass-through-behavior)
|
||||
- [Responses](#responses)
|
||||
- [Custom Response Headers](#custom-response-headers)
|
||||
- [Custom Response Templates](#custom-response-templates)
|
||||
- [Status Codes](#status-codes)
|
||||
- [Available Status Codes](#available-status-codes)
|
||||
- [Using Status Codes](#using-status-codes)
|
||||
- [Custom Status Codes](#custom-status-codes)
|
||||
- [Setting an HTTP Proxy on API Gateway](#setting-an-http-proxy-on-api-gateway)
|
||||
- [Share API Gateway and API Resources](#share-api-gateway-and-api-resources)
|
||||
- [Easiest and CI/CD friendly example of using shared API Gateway and API Resources.](#easiest-and-cicd-friendly-example-of-using-shared-api-gateway-and-api-resources)
|
||||
- [Manually Configuring shared API Gateway](#manually-configuring-shared-api-gateway)
|
||||
- [Note while using authorizers with shared API Gateway](#note-while-using-authorizers-with-shared-api-gateway)
|
||||
- [Share Authorizer](#share-authorizer)
|
||||
- [Resource Policy](#resource-policy)
|
||||
- [Compression](#compression)
|
||||
- [Binary Media Types](#binary-media-types)
|
||||
- [AWS X-Ray Tracing](#aws-x-ray-tracing)
|
||||
- [Tags / Stack Tags](#tags--stack-tags)
|
||||
- [Logs](#logs)
|
||||
- [API Gateway](#API-Gateway)
|
||||
- [Lambda Proxy Integration](#Lambda-Proxy-Integration)
|
||||
- [Simple HTTP Endpoint](#Simple-HTTP-Endpoint)
|
||||
- [Example "LAMBDA-PROXY" event (default)](#Example-%22LAMBDA-PROXY%22-event-default)
|
||||
- [HTTP Endpoint with Extended Options](#HTTP-Endpoint-with-Extended-Options)
|
||||
- [Enabling CORS](#Enabling-CORS)
|
||||
- [HTTP Endpoints with `AWS_IAM` Authorizers](#HTTP-Endpoints-with-AWSIAM-Authorizers)
|
||||
- [HTTP Endpoints with Custom Authorizers](#HTTP-Endpoints-with-Custom-Authorizers)
|
||||
- [Using asynchronous integration](#Using-asynchronous-integration)
|
||||
- [Catching Exceptions In Your Lambda Function](#Catching-Exceptions-In-Your-Lambda-Function)
|
||||
- [Setting API keys for your Rest API](#Setting-API-keys-for-your-Rest-API)
|
||||
- [Configuring endpoint types](#Configuring-endpoint-types)
|
||||
- [Request Parameters](#Request-Parameters)
|
||||
- [Request Schema Validators](#Request-Schema-Validators)
|
||||
- [Setting source of API key for metering requests](#Setting-source-of-API-key-for-metering-requests)
|
||||
- [Lambda Integration](#Lambda-Integration)
|
||||
- [Example "LAMBDA" event (before customization)](#Example-%22LAMBDA%22-event-before-customization)
|
||||
- [Request templates](#Request-templates)
|
||||
- [Default Request Templates](#Default-Request-Templates)
|
||||
- [Custom Request Templates](#Custom-Request-Templates)
|
||||
- [Pass Through Behavior](#Pass-Through-Behavior)
|
||||
- [Responses](#Responses)
|
||||
- [Custom Response Headers](#Custom-Response-Headers)
|
||||
- [Custom Response Templates](#Custom-Response-Templates)
|
||||
- [Status Codes](#Status-Codes)
|
||||
- [Available Status Codes](#Available-Status-Codes)
|
||||
- [Using Status Codes](#Using-Status-Codes)
|
||||
- [Custom Status Codes](#Custom-Status-Codes)
|
||||
- [Setting an HTTP Proxy on API Gateway](#Setting-an-HTTP-Proxy-on-API-Gateway)
|
||||
- [Share API Gateway and API Resources](#Share-API-Gateway-and-API-Resources)
|
||||
- [Easiest and CI/CD friendly example of using shared API Gateway and API Resources.](#Easiest-and-CICD-friendly-example-of-using-shared-API-Gateway-and-API-Resources)
|
||||
- [Manually Configuring shared API Gateway](#Manually-Configuring-shared-API-Gateway)
|
||||
- [Note while using authorizers with shared API Gateway](#Note-while-using-authorizers-with-shared-API-Gateway)
|
||||
- [Share Authorizer](#Share-Authorizer)
|
||||
- [Resource Policy](#Resource-Policy)
|
||||
- [Compression](#Compression)
|
||||
- [Binary Media Types](#Binary-Media-Types)
|
||||
- [AWS X-Ray Tracing](#AWS-X-Ray-Tracing)
|
||||
- [Tags / Stack Tags](#Tags--Stack-Tags)
|
||||
- [Logs](#Logs)
|
||||
|
||||
_Are you looking for tutorials on using API Gateway? Check out the following resources:_
|
||||
|
||||
@ -1157,7 +1158,7 @@ provider:
|
||||
restApiRootResourceId: xxxxxxxxxx
|
||||
description: Some Description
|
||||
restApiResources:
|
||||
/posts: xxxxxxxxxx
|
||||
posts: xxxxxxxxxx
|
||||
|
||||
functions:
|
||||
...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user