Files
backbone/api/api.swagger.json

81 lines
1.5 KiB
JSON

{
"swagger": "2.0",
"info": {
"title": "Application",
"version": "%version%"
},
"tags": [
{
"name": "DebugAPI"
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/api/v1/version": {
"get": {
"operationId": "DebugAPI_GetVersion",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/servicesGetVersionResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"tags": [
"DebugAPI"
]
}
}
},
"definitions": {
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
},
"rpcStatus": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/protobufAny"
}
}
}
},
"servicesGetVersionResponse": {
"type": "object",
"properties": {
"version": {
"type": "string"
}
}
}
}
}