diff --git a/examples/internal/clients/abe/api/swagger.yaml b/examples/internal/clients/abe/api/swagger.yaml index 69280c48d8a..940186a3860 100644 --- a/examples/internal/clients/abe/api/swagger.yaml +++ b/examples/internal/clients/abe/api/swagger.yaml @@ -60,7 +60,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/example/a_bit_of_everything/echo/{value}: @@ -102,7 +102,7 @@ paths: schema: {} x-number: 100 default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" externalDocs: @@ -392,7 +392,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/example/a_bit_of_everything/params/get/{single_nested.name}: @@ -686,7 +686,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/example/a_bit_of_everything/params/post/{string_value}: @@ -967,7 +967,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/example/a_bit_of_everything/query/{uuid}: @@ -1267,7 +1267,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" security: [] @@ -1424,7 +1424,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/example/a_bit_of_everything/{single_nested.name}: @@ -1464,7 +1464,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/example/a_bit_of_everything/{uuid}: @@ -1497,7 +1497,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" put: @@ -1534,7 +1534,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" delete: @@ -1565,7 +1565,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" security: @@ -1761,7 +1761,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/{parent=publishers/*}/books: @@ -1812,7 +1812,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v2/example/a_bit_of_everything/{abe.uuid}: @@ -1859,7 +1859,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" patch: @@ -1905,7 +1905,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v2/example/echo: @@ -1948,7 +1948,7 @@ paths: schema: {} x-number: 100 default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" externalDocs: @@ -1993,7 +1993,7 @@ paths: schema: {} x-number: 100 default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" externalDocs: @@ -2023,7 +2023,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v2/example/errorwithdetails: @@ -2050,7 +2050,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v2/example/overwriteresponsecontenttype: @@ -2080,7 +2080,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v2/example/postwithemptybody/{name}: @@ -2118,7 +2118,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v2/example/timeout: @@ -2145,7 +2145,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v2/example/withbody/{id}: @@ -2183,7 +2183,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v2/{value}:check: @@ -2218,7 +2218,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v2a/example/a_bit_of_everything/{abe.uuid}: @@ -2256,7 +2256,7 @@ paths: schema: $ref: "#/definitions/examplepbNumericEnum" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" securityDefinitions: diff --git a/examples/internal/clients/echo/api/swagger.yaml b/examples/internal/clients/echo/api/swagger.yaml index 2df4be32a99..69fce06d757 100644 --- a/examples/internal/clients/echo/api/swagger.yaml +++ b/examples/internal/clients/echo/api/swagger.yaml @@ -29,7 +29,7 @@ paths: schema: $ref: "#/definitions/examplepbSimpleMessage" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/example/echo/{id}/{num}: @@ -104,7 +104,7 @@ paths: schema: $ref: "#/definitions/examplepbSimpleMessage" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/example/echo/{id}/{num}/{lang}: @@ -178,7 +178,7 @@ paths: schema: $ref: "#/definitions/examplepbSimpleMessage" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/example/echo1/{id}/{line_num}/{status.note}: @@ -246,7 +246,7 @@ paths: schema: $ref: "#/definitions/examplepbSimpleMessage" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/example/echo2/{no.note}: @@ -316,7 +316,7 @@ paths: schema: $ref: "#/definitions/examplepbSimpleMessage" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/example/echo_body: @@ -338,7 +338,7 @@ paths: schema: $ref: "#/definitions/examplepbSimpleMessage" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/example/echo_delete: @@ -414,7 +414,7 @@ paths: schema: $ref: "#/definitions/examplepbSimpleMessage" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" definitions: diff --git a/examples/internal/clients/responsebody/api/swagger.yaml b/examples/internal/clients/responsebody/api/swagger.yaml index 9a8fd0ea52a..fe52fd68a84 100644 --- a/examples/internal/clients/responsebody/api/swagger.yaml +++ b/examples/internal/clients/responsebody/api/swagger.yaml @@ -27,7 +27,7 @@ paths: items: $ref: "#/definitions/examplepbRepeatedResponseBodyOutResponse" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /responsebody/stream/{data}: @@ -53,7 +53,7 @@ paths: $ref: "#/definitions/runtimeStreamError" title: "Stream result of examplepbResponseBodyOut" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /responsebody/{data}: @@ -73,7 +73,7 @@ paths: schema: $ref: "#/definitions/examplepbResponseBodyOutResponse" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /responsestrings/{data}: @@ -95,7 +95,7 @@ paths: items: type: "string" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" definitions: diff --git a/examples/internal/clients/unannotatedecho/api/swagger.yaml b/examples/internal/clients/unannotatedecho/api/swagger.yaml index ab5450bab15..2f1b0a565e6 100644 --- a/examples/internal/clients/unannotatedecho/api/swagger.yaml +++ b/examples/internal/clients/unannotatedecho/api/swagger.yaml @@ -32,7 +32,7 @@ paths: schema: $ref: "#/definitions/examplepbUnannotatedSimpleMessage" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/example/echo/{id}/{num}: @@ -67,7 +67,7 @@ paths: schema: $ref: "#/definitions/examplepbUnannotatedSimpleMessage" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/example/echo_body: @@ -89,7 +89,7 @@ paths: schema: $ref: "#/definitions/examplepbUnannotatedSimpleMessage" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" /v1/example/echo_delete: @@ -125,7 +125,7 @@ paths: schema: $ref: "#/definitions/examplepbUnannotatedSimpleMessage" default: - description: "An unexpected error response" + description: "An unexpected error response." schema: $ref: "#/definitions/runtimeError" definitions: diff --git a/examples/internal/proto/examplepb/a_bit_of_everything.swagger.json b/examples/internal/proto/examplepb/a_bit_of_everything.swagger.json index bc9f60de209..292069d5760 100644 --- a/examples/internal/proto/examplepb/a_bit_of_everything.swagger.json +++ b/examples/internal/proto/examplepb/a_bit_of_everything.swagger.json @@ -56,7 +56,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -117,7 +117,7 @@ "x-number": 100 }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -168,7 +168,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -482,7 +482,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -802,7 +802,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -1111,7 +1111,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -1446,7 +1446,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -1632,7 +1632,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -1688,7 +1688,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -1733,7 +1733,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -1788,7 +1788,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -1843,7 +1843,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -2079,7 +2079,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -2143,7 +2143,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -2207,7 +2207,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -2285,7 +2285,7 @@ "x-number": 100 }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -2346,7 +2346,7 @@ "x-number": 100 }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -2399,7 +2399,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -2438,7 +2438,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -2477,7 +2477,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -2519,7 +2519,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -2574,7 +2574,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -2613,7 +2613,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -2668,7 +2668,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -2719,7 +2719,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } diff --git a/examples/internal/proto/examplepb/echo_service.swagger.json b/examples/internal/proto/examplepb/echo_service.swagger.json index 43d9b608d56..7ea8bcd9ca1 100644 --- a/examples/internal/proto/examplepb/echo_service.swagger.json +++ b/examples/internal/proto/examplepb/echo_service.swagger.json @@ -25,7 +25,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -58,7 +58,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -144,7 +144,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -230,7 +230,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -310,7 +310,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -389,7 +389,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -422,7 +422,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } diff --git a/examples/internal/proto/examplepb/response_body_service.swagger.json b/examples/internal/proto/examplepb/response_body_service.swagger.json index 1fad10c2042..68f8f8f8551 100644 --- a/examples/internal/proto/examplepb/response_body_service.swagger.json +++ b/examples/internal/proto/examplepb/response_body_service.swagger.json @@ -25,7 +25,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -64,7 +64,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -94,7 +94,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -127,7 +127,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } diff --git a/examples/internal/proto/examplepb/stream.swagger.json b/examples/internal/proto/examplepb/stream.swagger.json index 9b468d5bb9d..6e6b885f005 100644 --- a/examples/internal/proto/examplepb/stream.swagger.json +++ b/examples/internal/proto/examplepb/stream.swagger.json @@ -31,7 +31,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -53,7 +53,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -95,7 +95,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } diff --git a/examples/internal/proto/examplepb/swagger_merge.swagger.json b/examples/internal/proto/examplepb/swagger_merge.swagger.json index 39e37d5330c..4dab52d1a81 100644 --- a/examples/internal/proto/examplepb/swagger_merge.swagger.json +++ b/examples/internal/proto/examplepb/swagger_merge.swagger.json @@ -25,7 +25,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -59,7 +59,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -93,7 +93,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -127,7 +127,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -161,7 +161,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -195,7 +195,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } diff --git a/examples/internal/proto/examplepb/unannotated_echo_service.swagger.json b/examples/internal/proto/examplepb/unannotated_echo_service.swagger.json index 4d383edc489..b99f33485cf 100644 --- a/examples/internal/proto/examplepb/unannotated_echo_service.swagger.json +++ b/examples/internal/proto/examplepb/unannotated_echo_service.swagger.json @@ -25,7 +25,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -58,7 +58,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -103,7 +103,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -136,7 +136,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } diff --git a/examples/internal/proto/examplepb/use_go_template.swagger.json b/examples/internal/proto/examplepb/use_go_template.swagger.json index 81e8c735408..c9a83c09466 100644 --- a/examples/internal/proto/examplepb/use_go_template.swagger.json +++ b/examples/internal/proto/examplepb/use_go_template.swagger.json @@ -24,7 +24,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -58,7 +58,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } diff --git a/examples/internal/proto/examplepb/wrappers.swagger.json b/examples/internal/proto/examplepb/wrappers.swagger.json index 1a360fae45a..297df32c1ac 100644 --- a/examples/internal/proto/examplepb/wrappers.swagger.json +++ b/examples/internal/proto/examplepb/wrappers.swagger.json @@ -22,7 +22,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -54,7 +54,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -87,7 +87,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -121,7 +121,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -154,7 +154,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -187,7 +187,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -221,7 +221,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -255,7 +255,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -288,7 +288,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -321,7 +321,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } @@ -355,7 +355,7 @@ } }, "default": { - "description": "An unexpected error response", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/runtimeError" } diff --git a/protoc-gen-swagger/genswagger/template.go b/protoc-gen-swagger/genswagger/template.go index 25fd0caafa8..4e537a5ca93 100644 --- a/protoc-gen-swagger/genswagger/template.go +++ b/protoc-gen-swagger/genswagger/template.go @@ -1017,7 +1017,7 @@ func renderServices(services []*descriptor.Service, paths swaggerPathsObject, re if hasErrDef { // https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#responses-object operationObject.Responses["default"] = swaggerResponseObject{ - Description: "An unexpected error response", + Description: "An unexpected error response.", Schema: swaggerSchemaObject{ schemaCore: schemaCore{ Ref: fmt.Sprintf("#/definitions/%s", errDef),