Created
July 12, 2022 22:09
-
-
Save antklim/17c8e6d1dd38b7b060bb2598a0fef563 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FormDataInputModel: | |
Type: AWS::ApiGateway::Model | |
Properties: | |
ContentType: application/json | |
Description: A form data input model | |
Name: FormDataRequest | |
RestApiId: !Ref APIGW | |
Schema: | |
$schema: "http://json-schema.org/draft-04/schema#" | |
title: FormDataInputModel | |
type: object | |
properties: | |
email: | |
type: string | |
format: email | |
fullName: | |
type: string | |
maxLength: 255 | |
comment: | |
type: string | |
maxLength: 255 | |
required: | |
- fullName | |
FormDataOutputModel: | |
Type: AWS::ApiGateway::Model | |
Properties: | |
ContentType: application/json | |
Description: A response on form data processing | |
Name: FormDataResponse | |
RestApiId: !Ref APIGW | |
Schema: | |
$schema: "http://json-schema.org/draft-04/schema#" | |
title: FormDataOutputModel | |
type: object | |
properties: | |
message: | |
type: string | |
statusCode: | |
type: number |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment