gctrpc: generate protobuf files with latest versions of tools (#721)

* gctrpc: generate protobuf files with latest versions of tools

* gctrpc: generation scripts now use protoc-gen-openapiv2 (instead of protoc-gen-swagger)

* gtcrpc: update readme
This commit is contained in:
Yordan Miladinov
2021-07-27 05:37:30 +03:00
committed by GitHub
parent 44ae89542f
commit c23d66b873
4 changed files with 252 additions and 275 deletions

View File

@@ -37,15 +37,15 @@ Then use `go get` to download the following packages:
```bash
go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway
go get github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2
go get google.golang.org/protobuf/cmd/protoc-gen-go
go get google.golang.org/grpc/cmd/protoc-gen-go-grpc
```
This will place three binaries in your `$GOBIN`;
This will place the following binaries in your `$GOBIN`;
* `protoc-gen-grpc-gateway`
* `protoc-gen-swagger`
* `protoc-gen-openapiv2`
* `protoc-gen-go`
* `protoc-gen-go-grpc`