api/buf.gen.yaml

27 lines
735 B
YAML

# buf.gen.yaml sets up the generation configuration for all of our plugins.
# Note: buf does not allow multi roots that are within each other; as a result, the common-protos folders are
# symlinked into the top level directory.
version: v1
plugins:
- name: go
out: .
opt: paths=source_relative
- name: go-grpc
out: .
opt: paths=source_relative
- name: golang-deepcopy
out: .
opt: paths=source_relative
- name: crd
out: .
strategy: all
- name: golang-jsonshim
out: .
opt: paths=source_relative
- name: alias
out: .
opt: paths=source_relative
- name: docs
out: .
opt: warnings=false,dictionary=./dictionaries/en-US,custom_word_list=./dictionaries/custom.txt,per_file=true,mode=html_fragment_with_front_matter