mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-24 08:12:15 +00:00
# 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
20 lines
470 B
YAML
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
|