Created
August 11, 2015 17:10
-
-
Save hantuzun/862104cdecff71f5d1df 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": "0.0.5", | |
"title": "Spock", | |
"description": "Spock gives sparkling recommendations to Kirk", | |
"contact": { | |
"name": "SuggestGrid Inc." | |
} | |
}, | |
"host": "suggestgrid.com", | |
"basePath": "/", | |
"schemes": [ | |
"http" | |
], | |
"consumes": [ | |
"application/json" | |
], | |
"produces": [ | |
"application/json" | |
], | |
"paths": { | |
"/train": { | |
"post": { | |
"description": "Returns all pets from the system that the user has access to", | |
"produces": [ | |
"application/json" | |
], | |
"responses": { | |
"200": { | |
"description": "`Training successful` message.", | |
"schema": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"definitions": { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment