mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
docs: Update httpApi reference in serverless.yml.md (#10389)
This commit is contained in:
parent
7bf8f1b723
commit
8daef830e0
@ -188,6 +188,8 @@ provider:
|
||||
id: 'my-id' # If we want to attach to externally created HTTP API its id should be provided here
|
||||
name: 'dev-my-service' # Use custom name for the API Gateway API, default is ${sls:stage}-${self:service}
|
||||
payload: '2.0' # Specify payload format version for Lambda integration ('1.0' or '2.0'), default is '2.0'
|
||||
disableDefaultEndpoint: false # Specify whether clients can invoke your API by using the default `execute-api` endpoint
|
||||
metrics: true # Enable detailed metrics
|
||||
cors: true # Implies default behavior, can be fine tuned with specific options
|
||||
authorizers:
|
||||
# JWT authorizer to back HTTP API endpoints
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user