mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-26 09:12:16 +00:00
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:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user