58 lines
1.0 KiB
JSON
58 lines
1.0 KiB
JSON
|
|
{
|
||
|
|
"swagger": "2.0",
|
||
|
|
"info": {
|
||
|
|
"title": "proto/sample.proto",
|
||
|
|
"version": "version not set"
|
||
|
|
},
|
||
|
|
"consumes": [
|
||
|
|
"application/json"
|
||
|
|
],
|
||
|
|
"produces": [
|
||
|
|
"application/json"
|
||
|
|
],
|
||
|
|
"paths": {},
|
||
|
|
"definitions": {
|
||
|
|
"protobufAny": {
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"type_url": {
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"value": {
|
||
|
|
"type": "string",
|
||
|
|
"format": "byte"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"runtimeError": {
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"error": {
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"code": {
|
||
|
|
"type": "integer",
|
||
|
|
"format": "int32"
|
||
|
|
},
|
||
|
|
"message": {
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"details": {
|
||
|
|
"type": "array",
|
||
|
|
"items": {
|
||
|
|
"$ref": "#/definitions/protobufAny"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"sampleSayResponse": {
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"Reply": {
|
||
|
|
"type": "string"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|