mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
Current generation of protobuf stubs is hard and there's open issues around it: https://github.com/grpc-ecosystem/grpc-gateway/issues/1065 grpc-gateway author and README suggest to use `buf` instead which intends to be a simpler and more reliable method of protobuf stub generation.
18 lines
304 B
YAML
18 lines
304 B
YAML
version: v1beta1
|
|
plugins:
|
|
- name: go
|
|
out: ./
|
|
opt:
|
|
- paths=source_relative
|
|
- name: go-grpc
|
|
out: ./
|
|
opt:
|
|
- paths=source_relative
|
|
- name: grpc-gateway
|
|
out: ./
|
|
opt:
|
|
- paths=source_relative
|
|
- generate_unbound_methods=true
|
|
- name: openapiv2
|
|
out: ./
|