Skip to content

Instantly share code, notes, and snippets.

@xbklairith
Created August 9, 2016 15:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
/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