Files
zitadel/docs/buf.gen.yaml
T
Livio SpringandGitHub bd6279153a 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
2026-01-26 13:20:46 +01:00

20 lines
470 B
YAML

# buf.gen.yaml
version: v2
managed:
enabled: true
plugins:
- remote: buf.build/grpc-ecosystem/openapiv2:v2.27.4
out: .artifacts/openapi
opt:
- allow_delete_body
- remove_internal_comments=true
- preserve_rpc_order=true
- local: ./protoc-gen-connect-openapi/protoc-gen-connect-openapi
out: .artifacts/openapi3
strategy: all
opt:
- allow-get
- short-service-tags
- ignore-googleapi-http
- base=base.yaml