fix: use versioned openapi protoc plugin for docs and console (#11423)

# Which Problems Are Solved

The docs and console API generators used an unversioned
`buf.build/grpc-ecosystem/openapiv2` plugin for the code generation. The
latest version has an issue and fails.

# How the Problems Are Solved

- pin the plugin to the latest running version

# Additional Changes

none
# Additional Context

- noticed internally
- requires backport to at least v4.x
- https://github.com/grpc-ecosystem/grpc-gateway/issues/6274
This commit is contained in:
Livio Spring
2026-01-26 13:20:46 +01:00
committed by GitHub
parent 5b3f48a410
commit bd6279153a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -9,6 +9,6 @@ plugins:
- plugin: buf.build/grpc/web:v1.5.0
out: src/app/proto/generated
opt: import_style=typescript,mode=grpcweb
- plugin: buf.build/grpc-ecosystem/openapiv2
- plugin: buf.build/grpc-ecosystem/openapiv2:v2.27.4
out: src/app/proto/generated
opt: allow_delete_body
opt: allow_delete_body
+1 -1
View File
@@ -3,7 +3,7 @@ version: v2
managed:
enabled: true
plugins:
- remote: buf.build/grpc-ecosystem/openapiv2
- remote: buf.build/grpc-ecosystem/openapiv2:v2.27.4
out: .artifacts/openapi
opt:
- allow_delete_body