Skip to content

Commit

Permalink
Use grpc-gateway fork for code generation.
Browse files Browse the repository at this point in the history
This fork uses the correct JSON names as specified by the Protobuf to
JSON mapping
(https://developers.google.com/protocol-buffers/docs/proto3#json).

This is needed until
grpc-ecosystem/grpc-gateway#681 has been merged.
  • Loading branch information
brocaar committed Jul 11, 2018
1 parent f43a471 commit d9c0628
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,19 @@ static/swagger/api.swagger.json:
# shortcuts for development

requirements:
@echo "Installing development tools"
@go get -u github.com/golang/lint/golint
@go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
@go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
@go get -u github.com/golang/protobuf/protoc-gen-go
@go get -u github.com/elazarl/go-bindata-assetfs/...
@go get -u github.com/jteeuwen/go-bindata/...
@go get -u github.com/kisielk/errcheck
@go get -u github.com/smartystreets/goconvey
@go get -u golang.org/x/tools/cmd/stringer
@go get -u github.com/golang/dep/cmd/dep
@go get -u github.com/goreleaser/goreleaser
@dep ensure -v
echo "Installing development tools"
go get -u github.com/golang/lint/golint
go get -u github.com/brocaar/grpc-gateway/protoc-gen-grpc-gateway
go get -u github.com/brocaar/grpc-gateway/protoc-gen-swagger
go get -u github.com/golang/protobuf/protoc-gen-go
go get -u github.com/elazarl/go-bindata-assetfs/...
go get -u github.com/jteeuwen/go-bindata/...
go get -u github.com/kisielk/errcheck
go get -u github.com/smartystreets/goconvey
go get -u golang.org/x/tools/cmd/stringer
go get -u github.com/golang/dep/cmd/dep
go get -u github.com/goreleaser/goreleaser
dep ensure -v

ui-requirements:
@echo "Installing UI requirements"
Expand Down

0 comments on commit d9c0628

Please sign in to comment.