lnrpc: generate gateway and swagger for all RPCs

This commit is contained in:
Oliver Gugger committed 2020-05-08 14:33:59 +02:00
1 parent 71c58c2c04
commit 272598a706
11 files changed
+2225 -25

No files matched your search

+62
View File
@@ -0,0 +1,62 @@
{
"swagger": "2.0",
"info": {
"title": "autopilotrpc/autopilot.proto",
"version": "version not set"
},
"schemes": [
"http",
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {},
"definitions": {
"QueryScoresResponseHeuristicResult": {
"type": "object",
"properties": {
"heuristic": {
"type": "string"
},
"scores": {
"type": "object",
"additionalProperties": {
"type": "number",
"format": "double"
}
}
}
},
"autopilotrpcModifyStatusResponse": {
"type": "object"
},
"autopilotrpcQueryScoresResponse": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/QueryScoresResponseHeuristicResult"
}
}
}
},
"autopilotrpcSetScoresResponse": {
"type": "object"
},
"autopilotrpcStatusResponse": {
"type": "object",
"properties": {
"active": {
"type": "boolean",
"format": "boolean",
"description": "Indicates whether the autopilot is active or not."
}
}
}
}
}