Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: use updated validate plugin #79

Merged
merged 2 commits into from
Sep 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ proto:

setup:
@echo "Installing dependencies..."
go mod tidy
go mod download
go get google.golang.org/protobuf/cmd/[email protected]
go get github.com/golang/protobuf/[email protected]
go get github.com/golang/protobuf/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ plugins:
opt: paths=source_relative
- plugin: buf.build/grpc/go:v1.2.0
out: api/proto
opt: paths=source_relative, require_unimplemented_servers=true
opt:
- paths=source_relative
- require_unimplemented_servers=true
- plugin: buf.build/grpc-ecosystem/gateway:v2.15.1
out: api/proto
opt: paths=source_relative
- plugin: buf.build/grpc-ecosystem/openapiv2:v2.15.1
out: third_party/OpenAPI
# See https://github.com/bufbuild/protoc-gen-validate/issues/523
- remote: buf.build/jirkad/plugins/protoc-gen-validate:v0.6.7
- plugin: buf.build/bufbuild/validate-go:v1.0.2
out: api/proto
opt:
- paths=source_relative
- lang=go
Loading