Skip to content

Instantly share code, notes, and snippets.

@georgmao
Created December 21, 2017 20:45
Show Gist options
  • Save georgmao/f565483a20c1f2f0a8f5db95651ae682 to your computer and use it in GitHub Desktop.
Save georgmao/f565483a20c1f2f0a8f5db95651ae682 to your computer and use it in GitHub Desktop.
---
swagger: "2.0"
info:
version: "2017-12-20T14:48:08Z"
title: "swaggerMergeDemo"
host: "jdy6k2gmn1.execute-api.us-west-2.amazonaws.com"
basePath: "/test"
schemes:
- "https"
paths:
/api/team2:
post:
consumes:
- "application/json"
produces:
- "application/json"
responses:
200:
description: "200 response"
schema:
$ref: "#/definitions/Empty"
x-amazon-apigateway-integration:
responses:
default:
statusCode: "200"
requestTemplates:
application/json: "{\"statusCode\": 200}"
passthroughBehavior: "when_no_match"
type: "mock"
definitions:
Empty:
type: "object"
title: "Empty Schema"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment