mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-17 04:04:21 +01:00
* 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
22 lines
541 B
YAML
Executable File
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
|