Files
ark/buf.gen.yaml
Marco Argentieri f0a90c06ee Move api-spec to root folder (#242)
* api-spec: move the api-spec to root and init go.mod

* go mod tidy

* move buf files in the root as well

* gh action for api-spec changes only

* gh action for api-spec on push and pr
2024-08-13 00:54:06 +02:00

22 lines
541 B
YAML
Executable File

version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/ark-network/ark/api-spec/protobuf/gen
except:
- buf.build/googleapis/googleapis
plugins:
# Golang
- plugin: go
out: api-spec/protobuf/gen
opt: paths=source_relative
- plugin: go-grpc
out: api-spec/protobuf/gen
opt: paths=source_relative,require_unimplemented_servers=false
- plugin: grpc-gateway
out: api-spec/protobuf/gen
opt: paths=source_relative
#OpenApi
- plugin: openapiv2
out: api-spec/openapi/swagger