{ "swagger": "2.0", "info": { "title": "pkg/gateway/testdata/test.proto", "version": "version not set" }, "tags": [ { "name": "Test" } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": { "/v3/test/{metadata.name}/test/{metadata.name}": { "get": { "operationId": "Test_Get", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/testdataTestObject" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/rpcStatus" } } }, "parameters": [ { "name": "metadata.name", "in": "path", "required": true, "type": "string" }, { "name": "metadata.name", "in": "path", "required": true, "type": "string" } ], "tags": [ "Test" ] } } }, "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": { "$ref": "#/definitions/protobufAny" } } } }, "testdataTestMetadata": { "type": "object", "properties": { "name": { "type": "string" } } }, "testdataTestObject": { "type": "object", "properties": { "metadata": { "$ref": "#/definitions/testdataTestMetadata" }, "spec": { "$ref": "#/definitions/testdataTestObjectSpec" }, "status": { "$ref": "#/definitions/testdataTestObjectStatus" } } }, "testdataTestObjectSpec": { "type": "object" }, "testdataTestObjectStatus": { "type": "object" } } }