mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-10 09:02:30 +08:00
b096a2e7e5
This commit adds protobuf files and tooling surrounding generating APIs and datatypes.
21 lines
425 B
YAML
21 lines
425 B
YAML
version: v1
|
|
plugins:
|
|
- name: go
|
|
out: gen/go
|
|
opt:
|
|
- paths=source_relative
|
|
- name: go-grpc
|
|
out: gen/go
|
|
opt:
|
|
- paths=source_relative
|
|
- name: grpc-gateway
|
|
out: gen/go
|
|
opt:
|
|
- paths=source_relative
|
|
- generate_unbound_methods=true
|
|
# - name: gorm
|
|
# out: gen/go
|
|
# opt:
|
|
# - paths=source_relative,enums=string,gateway=true
|
|
- name: openapiv2
|
|
out: gen/openapiv2
|