mirror of
https://github.com/linka-cloud/grpc.git
synced 2024-11-23 11:26:26 +00:00
62 lines
1.1 KiB
JSON
62 lines
1.1 KiB
JSON
|
{
|
||
|
"swagger": "2.0",
|
||
|
"info": {
|
||
|
"title": "proxy/testservice/test.proto",
|
||
|
"version": "version not set"
|
||
|
},
|
||
|
"tags": [
|
||
|
{
|
||
|
"name": "TestService"
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"paths": {},
|
||
|
"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"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"testprotoPingResponse": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"value": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"counter": {
|
||
|
"type": "integer",
|
||
|
"format": "int32"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|