Skip to content

Commit

Permalink
fix(schema): Add AddDefaultAuthorizerToCorsPreflight to Serverless Auth
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinkney-aws authored and rubenfonseca committed Jun 2, 2022
1 parent 14eed4b commit 637150c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cloudformation/serverless/aws-serverless-api_auth.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions generate/sam-2016-10-31.json
Expand Up @@ -2013,6 +2013,12 @@
"Required": false,
"PrimitiveType": "Json",
"UpdateType": "Immutable"
},
"AddDefaultAuthorizerToCorsPreflight": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api-auth-object",
"Required": false,
"PrimitiveType": "Boolean",
"UpdateType": "Immutable"
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions schema/sam.go
Expand Up @@ -126747,6 +126747,9 @@ var SamSchema = `{
"AWS::Serverless::Api.Auth": {
"additionalProperties": false,
"properties": {
"AddDefaultAuthorizerToCorsPreflight": {
"type": "boolean"
},
"Authorizers": {
"type": "object"
},
Expand Down
3 changes: 3 additions & 0 deletions schema/sam.schema.json
Expand Up @@ -126742,6 +126742,9 @@
"AWS::Serverless::Api.Auth": {
"additionalProperties": false,
"properties": {
"AddDefaultAuthorizerToCorsPreflight": {
"type": "boolean"
},
"Authorizers": {
"type": "object"
},
Expand Down

0 comments on commit 637150c

Please sign in to comment.