Skip to content

feat(cli): Set flatten_oneofs option in protoc-gen-openapi#13554

Merged
amckinney merged 1 commit intomainfrom
amckinney/grpc/oneof
Mar 15, 2026
Merged

feat(cli): Set flatten_oneofs option in protoc-gen-openapi#13554
amckinney merged 1 commit intomainfrom
amckinney/grpc/oneof

Conversation

@amckinney
Copy link
Contributor

Description

Re: #13552

In absence of a stronger representation around the oneof type, this opts to use the flatten_oneofs option that was just introduced in protoc-gen-openapi to preserve wire compatibility. All oneof fields are represented as optional properties in the message that defines the oneof.

@claude
Copy link

claude bot commented Mar 15, 2026

⚠️ Code review skipped — your organization's overage spend limit has been reached.

Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit in Settings → Usage.

Once credits are available, reopen this pull request to trigger a review.

@amckinney amckinney merged commit c760828 into main Mar 15, 2026
278 of 279 checks passed
@amckinney amckinney deleted the amckinney/grpc/oneof branch March 15, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants