-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathbuf.gen.yaml
More file actions
29 lines (28 loc) · 801 Bytes
/
buf.gen.yaml
File metadata and controls
29 lines (28 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# SPDX-FileCopyrightText: Copyright 2023 The Minder Authors
# SPDX-License-Identifier: Apache-2.0
version: v1
plugins:
- name: go
out: .
#out: pkg/api/protobuf/go
opt: module=github.com/mindersec/minder
- name: go-grpc
out: .
#out: pkg/api/protobuf/go
opt:
- module=github.com/mindersec/minder
- name: grpc-gateway
out: .
#out: pkg/api/protobuf/go
opt:
- module=github.com/mindersec/minder
- name: openapiv2
out: pkg/api/openapi
opt:
- disable_default_errors=true
- plugin: doc
# Note: we can't use remote with a custom template:
# https://github.com/pseudomuto/protoc-gen-doc/issues/513
# buf.build/community/pseudomuto-doc:v1.5.1
out: docs/docs/ref
opt: "docs/proto_template.tmpl,proto.mdx:internal.proto"