Created
November 6, 2015 15:00
-
-
Save saiberz/747230a6f4902364c080 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
post: | |
description: Add a new user | |
operationId: addUser | |
parameters: | |
- name: user | |
in: body | |
description: New user to add | |
schema: | |
$ref: "#/definitions/NewUser" | |
responses: | |
"200": | |
description: Success | |
schema: | |
$ref: "#/definitions/ErrorResponse" | |
definitions: | |
NewUser: | |
required: | |
- name | |
properties: | |
name: | |
type: string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment