{ "swagger": "2.0", "info": { "title": "helloworld.proto", "version": "version not set" }, "schemes": [ "http", "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": { "/v1/helloworld/sayhello": { "post": { "summary": "Sends a greeting", "operationId": "SayHello", "responses": { "200": { "description": "", "schema": { "$ref": "#/definitions/helloworldHelloReply" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/helloworldHelloRequest" } } ], "tags": [ "Greeter" ] } } }, "definitions": { "helloworldHelloReply": { "type": "object", "properties": { "message": { "type": "string" } }, "title": "The response message containing the greetings" }, "helloworldHelloRequest": { "type": "object", "properties": { "name": { "type": "string" } }, "description": "The request message containing the user's name." } } }