Last active
January 28, 2020 22:25
-
-
Save amakhrov/c2956d36e599d9833a40309e86490484 to your computer and use it in GitHub Desktop.
This file contains 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
swagger: '2.0' | |
info: | |
version: '1.0' | |
title: Example API | |
schemes: | |
- http | |
paths: | |
/myendpoint1: | |
get: | |
summary: Endpoint | |
responses: | |
200: | |
description: Response | |
schema: | |
$ref: '#/definitions/Response1' | |
definitions: | |
Response: | |
type: object | |
properties: | |
prop_name: | |
description: Response code | |
type: string | |
enum: [ Capital, UPPER, lower, snake_case, 'illegal+id' ] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment