mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 15:27:33 +00:00

# Which Problems Are Solved To generate the docs, we rely on a protoc plugin to generate an openAPI definition from connectRPC / proto. Since the plugin is not available on buf.build, we currently download the released version. As the tar contains a licence and a readme, this overwrote existing internal files. # How the Problems Are Solved Download and extract the plugin in a separate folder and update buf.gen.yaml accordingly. # Additional Changes None # Additional Context relates to #9483
19 lines
444 B
YAML
19 lines
444 B
YAML
# buf.gen.yaml
|
|
version: v2
|
|
managed:
|
|
enabled: true
|
|
plugins:
|
|
- remote: buf.build/grpc-ecosystem/openapiv2
|
|
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:
|
|
- short-service-tags
|
|
- ignore-googleapi-http
|
|
- base=base.yaml
|