68 lines
1.7 KiB
JSON
68 lines
1.7 KiB
JSON
|
{
|
||
|
"swagger": "2.0",
|
||
|
"info": {
|
||
|
"title": "verrpc/verrpc.proto",
|
||
|
"version": "version not set"
|
||
|
},
|
||
|
"schemes": [
|
||
|
"http",
|
||
|
"https"
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"paths": {},
|
||
|
"definitions": {
|
||
|
"verrpcVersion": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"commit": {
|
||
|
"type": "string",
|
||
|
"description": "A verbose description of the daemon's commit."
|
||
|
},
|
||
|
"commit_hash": {
|
||
|
"type": "string",
|
||
|
"description": "The SHA1 commit hash that the daemon is compiled with."
|
||
|
},
|
||
|
"version": {
|
||
|
"type": "string",
|
||
|
"description": "The semantic version."
|
||
|
},
|
||
|
"app_major": {
|
||
|
"type": "integer",
|
||
|
"format": "int64",
|
||
|
"description": "The major application version."
|
||
|
},
|
||
|
"app_minor": {
|
||
|
"type": "integer",
|
||
|
"format": "int64",
|
||
|
"description": "The minor application version."
|
||
|
},
|
||
|
"app_patch": {
|
||
|
"type": "integer",
|
||
|
"format": "int64",
|
||
|
"description": "The application patch number."
|
||
|
},
|
||
|
"app_pre_release": {
|
||
|
"type": "string",
|
||
|
"description": "The application pre-release modifier, possibly empty."
|
||
|
},
|
||
|
"build_tags": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"description": "The list of build tags that were supplied during compilation."
|
||
|
},
|
||
|
"go_version": {
|
||
|
"type": "string",
|
||
|
"description": "The version of go that compiled the executable."
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|