Created
August 9, 2016 15:59
-
-
Save xbklairith/fc77ef9d81e3359b2750c2903f0d736b 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
/pokemon/list: | |
get: | |
responses: | |
200: | |
description: Return all as array | |
schema: | |
type: array | |
items: | |
$ref: '#/definitions/Monster' | |
/pokemon/info/{monsterName}: | |
get: | |
parameters: | |
- name: monsterName | |
in: path | |
required: true | |
type: string | |
responses: | |
200: | |
description: Return a monster from name | |
schema: | |
$ref: '#/definitions/Monster' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment