{ "swagger": "2.0", "info": { "description": "This is an auto-generated API Docs.", "title": "API", "termsOfService": "http://swagger.io/terms/", "contact": { "name": "API Support", "email": "vinh@jivecode.com" }, "license": { "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" }, "version": "1.0" }, "basePath": "/api/v1", "paths": { "/info": { "get": { "description": "Get API server information", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Misc" ], "summary": "Get API info", "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/response.ServerInfo" } } } } } }, "definitions": { "response.ServerInfo": { "type": "object", "properties": { "name": { "type": "string" }, "prefix": { "type": "string" }, "server": { "type": "string" } } } }, "securityDefinitions": { "ApiKeyAuth": { "type": "apiKey", "name": "Authorization", "in": "header" } } }