Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

End default response desc with period #1663

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions examples/internal/clients/abe/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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}:
Expand Down Expand Up @@ -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}:
Expand Down Expand Up @@ -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}:
Expand Down Expand Up @@ -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: []
Expand Down Expand Up @@ -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}:
Expand Down Expand Up @@ -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}:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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}:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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}:
Expand Down Expand Up @@ -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:
Expand All @@ -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}:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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}:
Expand Down Expand Up @@ -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:
Expand Down
14 changes: 7 additions & 7 deletions examples/internal/clients/echo/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}:
Expand Down Expand Up @@ -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}:
Expand Down Expand Up @@ -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}:
Expand Down Expand Up @@ -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}:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions examples/internal/clients/responsebody/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}:
Expand All @@ -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}:
Expand All @@ -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}:
Expand All @@ -95,7 +95,7 @@ paths:
items:
type: "string"
default:
description: "An unexpected error response"
description: "An unexpected error response."
schema:
$ref: "#/definitions/runtimeError"
definitions:
Expand Down
8 changes: 4 additions & 4 deletions examples/internal/clients/unannotatedecho/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
Loading