Created
June 6, 2018 14:11
-
-
Save danielkhan/e448bb5e84996a7475c38e80b79607a7 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 | |
* /users/register: | |
* post: | |
* parameters: | |
* - in: body | |
* name: user | |
* description: The user to create. | |
* schema: | |
* $ref: "#/definitions/User" | |
* description: Creates a new user | |
* responses: | |
* 201: | |
* description: User created | |
* 400: | |
* description: Error - missing data | |
* 500: | |
* description: Error - general problem | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment