Created
March 6, 2017 17:36
-
-
Save dksheffield/80f332d1151c2fcb59307c44b739e680 to your computer and use it in GitHub Desktop.
not-serverless-cft.yaml
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
ContactUsFormApi: | |
Type: "AWS::ApiGateway::RestApi" | |
Properties: | |
Description: "A test API" | |
Name: | |
Ref: AWS::StackName | |
Body: | |
swagger: '2.0' | |
info: | |
description: Contact Us API | |
version: 1.0.0 | |
title: | |
Ref: AWS::StackName | |
# put the contact info for your development or API team | |
contact: | |
email: [email protected] | |
license: | |
name: Apache 2.0 | |
url: http://www.apache.org/licenses/LICENSE-2.0.html | |
schemes: | |
- https | |
paths: | |
/contactus: | |
post: | |
consumes: | |
- "application/json" | |
responses: {} | |
x-amazon-apigateway-integration: | |
requestTemplates: | |
application/json: "{\"statusCode\": 200}" | |
passthroughBehavior: "when_no_match" | |
type: "mock" | |
# Added by API Auto Mocking Plugin | |
host: virtserver.swaggerhub.com | |
basePath: /dksheffield/ContactUsForm/1.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment