Repository navigation
Found new managed modules references - #1345
Merged
Merged
Conversation
| }, | ||
| { | ||
| "name": "v2.34.0", | ||
| "digest": "6409061119cc1610dc83c773e07a1c184d1720b9d5f3a2fc51aff61372a2e358eb385540bb1138b2fa1bf5c0e383311d5e20644eb71d15fec6dcfa4c60feb4d2" |
There was a problem hiding this comment.
[Posted at 2026-11-17T12:08:30Z]
Intermediate transition
$ casdiff v2.33.0 \
v2.34.0 \
--format=markdown2 files changed: 0 removed, 0 renamed, 0 added, 2 changed content.
2 files changed: 0 removed, 0 renamed, 0 added, 2 changed content.
Files changed content:
protoc-gen-openapiv2/options/openapiv2.proto:
--- shake256:78fbed23bb3840dae4eb56b32a6a97d9dac51094ecd025f43bff80fc88a7e81efb9fdec7207477b6c1043c5c1de04c65ac59f7f373bff72d2997b507940b01c8 protoc-gen-openapiv2/options/openapiv2.proto
+++ shake256:9413c4a8bc376c678bb186c7ac906b69492a7d2c601480ee8b6a8fbd44230c7720566bc57c42a584d919e80d585a55a31cdb5bbe0d5614a78dc4c524c9e55430 protoc-gen-openapiv2/options/openapiv2.proto
@@ -537,11 +537,11 @@
double multiple_of = 10;
// Maximum represents an inclusive upper limit for a numeric instance. The
// value of MUST be a number,
- double maximum = 11;
+ optional double maximum = 11;
bool exclusive_maximum = 12;
// minimum represents an inclusive lower limit for a numeric instance. The
// value of MUST be a number,
- double minimum = 13;
+ optional double minimum = 13;
bool exclusive_minimum = 14;
uint64 max_length = 15;
uint64 min_length = 16;
protoc-gen-openapiv3/options/openapiv3.proto:
--- shake256:51a76bfec6650e85ce8f67fc8df09bd179bf74c48aaa235d7234a1c312c65dc19ad402e0db5ffab0799c26b473683d5bedb662a2483fed2a8050c29f1ca2ab77 protoc-gen-openapiv3/options/openapiv3.proto
+++ shake256:6e18a61c7c4171c2cf36f739bf922bd6523b7e849a80b6023ca5787f0a914e3c835e6411d2209418ace2942a6e16c12da7aa748034a6910131140df7978496d1 protoc-gen-openapiv3/options/openapiv3.proto
@@ -179,6 +179,98 @@
//
// See: https://spec.openapis.org/oas/v3.1.0#operationSecurity
repeated SecurityRequirement security = 9;
+ // Header and cookie parameters added to the operation, after the path and
+ // query parameters the generator derives from the HTTP binding and the
+ // request message. Within one operation, a parameter is identified by its
+ // `in` and `name`; header names are compared case-insensitively.
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#operationParameters
+ repeated Parameter parameters = 10;
+ // Responses to document on this operation, keyed by HTTP status code
+ // ("404"), status code range ("4XX") or "default". An entry replaces the
+ // response the generator would produce for the same key, so "default"
+ // replaces the generated google.rpc.Status error response and "200"
+ // replaces the generated success response.
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#responses-object
+ map<string, Response> responses = 11;
+}
+
+// Parameter describes a single header or cookie parameter of an operation.
+// It only documents the parameter: by default the gateway forwards just the
+// permanent HTTP request headers to gRPC metadata, so any other header needs
+// `runtime.WithIncomingHeaderMatcher`.
+//
+// Spec: https://spec.openapis.org/oas/v3.1.0#parameter-object
+message Parameter {
+ // The location of the parameter.
+ enum In {
+ // Not set. Setting `in` is required.
+ IN_UNSPECIFIED = 0;
+ // The parameter is sent as a request header.
+ IN_HEADER = 1;
+ // The parameter is sent as a cookie.
+ IN_COOKIE = 2;
+ }
+
+ // The primitive type of the parameter's schema.
+ enum Type {
+ // Not set. The parameter is rendered as a string.
+ TYPE_UNSPECIFIED = 0;
+ // A string.
+ TYPE_STRING = 1;
+ // A number.
+ TYPE_NUMBER = 2;
+ // An integer.
+ TYPE_INTEGER = 3;
+ // A boolean.
+ TYPE_BOOLEAN = 4;
+ }
+
+ // The name of the parameter. Required. Header names are compared
+ // case-insensitively. A header named `Accept`, `Content-Type` or
+ // `Authorization` is refused, since OpenAPI 3.1.0 says such a parameter
+ // SHALL be ignored; describe authorization with `security`.
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#parameterName
+ string name = 1;
+ // The location of the parameter. Required.
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#parameterIn
+ In in = 2;
+ // A brief description of the parameter. CommonMark syntax MAY be used for
+ // rich text representation.
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#parameterDescription
+ string description = 3;
+ // Determines whether this parameter is mandatory.
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#parameterRequired
+ bool required = 4;
+ // Declares this parameter to be deprecated.
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#parameterDeprecated
+ bool deprecated = 5;
+ // The type of the parameter's schema. Defaults to string.
+ Type type = 6;
+ // The format of the parameter's schema, for example "int64" or "uuid".
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#dataTypeFormat
+ string format = 7;
+}
+
+// Response describes a single response of an operation.
+//
+// Spec: https://spec.openapis.org/oas/v3.1.0#response-object
+message Response {
+ // A description of the response. CommonMark syntax MAY be used for rich
+ // text representation. Required.
+ string description = 1;
+ // Fully qualified names of the proto messages the response body can hold,
+ // for example "example.v1.NotFoundError". One message is referenced
+ // directly; several are combined with `oneOf`. Leave empty for a response
+ // without a body.
+ repeated string messages = 2;
}
// Schema is a message- or field-level override applied to the generated
| { | ||
| "module_name": "grpc-ecosystem/grpc-gateway", | ||
| "latest_reference": "v2.33.0" | ||
| "latest_reference": "v2.34.0" |
There was a problem hiding this comment.
[Posted at 2026-11-17T12:08:31Z]
Overall transition
$ casdiff v2.33.0 \
v2.34.0 \
--format=markdown2 files changed: 0 removed, 0 renamed, 0 added, 2 changed content.
Files changed content:
protoc-gen-openapiv2/options/openapiv2.proto:
--- shake256:78fbed23bb3840dae4eb56b32a6a97d9dac51094ecd025f43bff80fc88a7e81efb9fdec7207477b6c1043c5c1de04c65ac59f7f373bff72d2997b507940b01c8 protoc-gen-openapiv2/options/openapiv2.proto
+++ shake256:9413c4a8bc376c678bb186c7ac906b69492a7d2c601480ee8b6a8fbd44230c7720566bc57c42a584d919e80d585a55a31cdb5bbe0d5614a78dc4c524c9e55430 protoc-gen-openapiv2/options/openapiv2.proto
@@ -537,11 +537,11 @@
double multiple_of = 10;
// Maximum represents an inclusive upper limit for a numeric instance. The
// value of MUST be a number,
- double maximum = 11;
+ optional double maximum = 11;
bool exclusive_maximum = 12;
// minimum represents an inclusive lower limit for a numeric instance. The
// value of MUST be a number,
- double minimum = 13;
+ optional double minimum = 13;
bool exclusive_minimum = 14;
uint64 max_length = 15;
uint64 min_length = 16;
protoc-gen-openapiv3/options/openapiv3.proto:
--- shake256:51a76bfec6650e85ce8f67fc8df09bd179bf74c48aaa235d7234a1c312c65dc19ad402e0db5ffab0799c26b473683d5bedb662a2483fed2a8050c29f1ca2ab77 protoc-gen-openapiv3/options/openapiv3.proto
+++ shake256:6e18a61c7c4171c2cf36f739bf922bd6523b7e849a80b6023ca5787f0a914e3c835e6411d2209418ace2942a6e16c12da7aa748034a6910131140df7978496d1 protoc-gen-openapiv3/options/openapiv3.proto
@@ -179,6 +179,98 @@
//
// See: https://spec.openapis.org/oas/v3.1.0#operationSecurity
repeated SecurityRequirement security = 9;
+ // Header and cookie parameters added to the operation, after the path and
+ // query parameters the generator derives from the HTTP binding and the
+ // request message. Within one operation, a parameter is identified by its
+ // `in` and `name`; header names are compared case-insensitively.
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#operationParameters
+ repeated Parameter parameters = 10;
+ // Responses to document on this operation, keyed by HTTP status code
+ // ("404"), status code range ("4XX") or "default". An entry replaces the
+ // response the generator would produce for the same key, so "default"
+ // replaces the generated google.rpc.Status error response and "200"
+ // replaces the generated success response.
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#responses-object
+ map<string, Response> responses = 11;
+}
+
+// Parameter describes a single header or cookie parameter of an operation.
+// It only documents the parameter: by default the gateway forwards just the
+// permanent HTTP request headers to gRPC metadata, so any other header needs
+// `runtime.WithIncomingHeaderMatcher`.
+//
+// Spec: https://spec.openapis.org/oas/v3.1.0#parameter-object
+message Parameter {
+ // The location of the parameter.
+ enum In {
+ // Not set. Setting `in` is required.
+ IN_UNSPECIFIED = 0;
+ // The parameter is sent as a request header.
+ IN_HEADER = 1;
+ // The parameter is sent as a cookie.
+ IN_COOKIE = 2;
+ }
+
+ // The primitive type of the parameter's schema.
+ enum Type {
+ // Not set. The parameter is rendered as a string.
+ TYPE_UNSPECIFIED = 0;
+ // A string.
+ TYPE_STRING = 1;
+ // A number.
+ TYPE_NUMBER = 2;
+ // An integer.
+ TYPE_INTEGER = 3;
+ // A boolean.
+ TYPE_BOOLEAN = 4;
+ }
+
+ // The name of the parameter. Required. Header names are compared
+ // case-insensitively. A header named `Accept`, `Content-Type` or
+ // `Authorization` is refused, since OpenAPI 3.1.0 says such a parameter
+ // SHALL be ignored; describe authorization with `security`.
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#parameterName
+ string name = 1;
+ // The location of the parameter. Required.
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#parameterIn
+ In in = 2;
+ // A brief description of the parameter. CommonMark syntax MAY be used for
+ // rich text representation.
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#parameterDescription
+ string description = 3;
+ // Determines whether this parameter is mandatory.
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#parameterRequired
+ bool required = 4;
+ // Declares this parameter to be deprecated.
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#parameterDeprecated
+ bool deprecated = 5;
+ // The type of the parameter's schema. Defaults to string.
+ Type type = 6;
+ // The format of the parameter's schema, for example "int64" or "uuid".
+ //
+ // See: https://spec.openapis.org/oas/v3.1.0#dataTypeFormat
+ string format = 7;
+}
+
+// Response describes a single response of an operation.
+//
+// Spec: https://spec.openapis.org/oas/v3.1.0#response-object
+message Response {
+ // A description of the response. CommonMark syntax MAY be used for rich
+ // text representation. Required.
+ string description = 1;
+ // Fully qualified names of the proto messages the response body can hold,
+ // for example "example.v1.NotFoundError". One message is referenced
+ // directly; several are combined with `oneOf`. Leave empty for a response
+ // without a body.
+ repeated string messages = 2;
}
// Schema is a message- or field-level override applied to the generated
pkwarren
approved these changes
Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.