clair/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.swagger.json

76 lines
1.5 KiB
JSON
Raw Normal View History

2018-05-24 11:48:14 +00:00
{
"swagger": "2.0",
"info": {
"title": "examples/proto/examplepb/wrappers.proto",
"version": "version not set"
},
"schemes": [
"http",
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/v1/example/wrappers": {
"post": {
"operationId": "Create",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/examplepbWrappers"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/examplepbWrappers"
}
}
],
"tags": [
"WrappersService"
]
}
}
},
"definitions": {
"examplepbWrappers": {
"type": "object",
"properties": {
"string_value": {
"type": "string"
},
"int32_value": {
"type": "integer",
"format": "int32"
},
"int64_value": {
"type": "integer",
"format": "int64"
},
"float_value": {
"type": "number",
"format": "float"
},
"double_value": {
"type": "number",
"format": "double"
},
"bool_value": {
"type": "boolean",
"format": "boolean"
}
}
}
}
}