mirror of
https://github.com/aljazceru/ark.git
synced 2026-01-25 22:34:19 +01:00
20 lines
617 B
YAML
Executable File
20 lines
617 B
YAML
Executable File
version: v1
|
|
managed:
|
|
enabled: true
|
|
go_package_prefix:
|
|
default: github.com/ark-network/ark/api-spec/protobuf/gen
|
|
plugins:
|
|
# Golang
|
|
- remote: buf.build/protocolbuffers/plugins/go
|
|
out: api-spec/protobuf/gen/go
|
|
opt: paths=source_relative
|
|
- remote: buf.build/grpc/plugins/go
|
|
out: api-spec/protobuf/gen/go
|
|
opt: paths=source_relative,require_unimplemented_servers=false
|
|
- remote: buf.build/grpc-ecosystem/plugins/grpc-gateway
|
|
out: api-spec/protobuf/gen
|
|
opt: paths=source_relative
|
|
#OpenApi
|
|
- remote: buf.build/grpc-ecosystem/plugins/openapiv2
|
|
out: api-spec/openapi/swagger
|
|
|