Skip to content

Instantly share code, notes, and snippets.

@hantuzun
Created August 11, 2015 17:10
Show Gist options
  • Save hantuzun/862104cdecff71f5d1df to your computer and use it in GitHub Desktop.
Save hantuzun/862104cdecff71f5d1df to your computer and use it in GitHub Desktop.
{
"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