Created
December 28, 2019 00:17
-
-
Save vladholubiev/77881dce9f2f0d2a668b505fb13072c9 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
| openapi: "3.0.1" | |
| info: | |
| title: "demo-test-verification" | |
| version: "2019-12-27T23:52:02Z" | |
| servers: | |
| - url: "https://xxx.execute-api.us-east-1.amazonaws.com/{basePath}" | |
| variables: | |
| basePath: | |
| default: "/prod" | |
| paths: | |
| /: | |
| get: | |
| responses: | |
| 200: | |
| description: "200 response" | |
| content: | |
| text/plain: | |
| schema: | |
| $ref: "#/components/schemas/Text" | |
| x-amazon-apigateway-integration: | |
| responses: | |
| default: | |
| statusCode: "200" | |
| responseTemplates: | |
| text/plain: "hello world\n" | |
| passthroughBehavior: "when_no_match" | |
| requestTemplates: | |
| application/json: "{\"statusCode\": 200}" | |
| type: "mock" | |
| components: | |
| schemas: | |
| Text: | |
| title: "Empty Text Schema" | |
| type: "object" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment