generated from VLADIMIR/template
add graph
This commit is contained in:
@@ -119,6 +119,28 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/graph": {
|
||||
"get": {
|
||||
"operationId": "EveningDetective_GetGraph",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/evening_detectiveGetGraphRsp"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "An unexpected error response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/runtimeError"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"EveningDetective"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/ping": {
|
||||
"get": {
|
||||
"operationId": "EveningDetective_Ping",
|
||||
@@ -310,6 +332,34 @@
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"GetGraphRspEdge": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"from": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"to": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"arrows": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetGraphRspNode": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"label": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detectiveAction": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -423,6 +473,23 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detectiveGetGraphRsp": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"nodes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/GetGraphRspNode"
|
||||
}
|
||||
},
|
||||
"edges": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/GetGraphRspEdge"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detectiveGetTeamRsp": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user