Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dksheffield/6e08182f695d8276afdf9d8a57bd868e to your computer and use it in GitHub Desktop.
Save dksheffield/6e08182f695d8276afdf9d8a57bd868e to your computer and use it in GitHub Desktop.
not-serverless-cft-output.yaml
ContactUsFormApi:
Properties:
Body:
basePath: /dksheffield/ContactUsForm/1.0.0
host: virtserver.swaggerhub.com
info:
contact:
email: [email protected]
description: Contact Us API
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
title:
Ref: AWS::StackName
version: 1.0.0
paths:
/contactus:
post:
consumes:
- application/json
responses: {}
x-amazon-apigateway-integration:
passthroughBehavior: when_no_match
requestTemplates:
application/json: '{"statusCode": 200}'
type: mock
schemes:
- https
swagger: '2.0'
Description: A test API
Name:
Ref: AWS::StackName
Type: AWS::ApiGateway::RestApi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment