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

make generate: could not find protoc plugin for name openapiv2 #3

Open
Lanskask opened this issue Nov 16, 2022 · 0 comments
Open

make generate: could not find protoc plugin for name openapiv2 #3

Lanskask opened this issue Nov 16, 2022 · 0 comments

Comments

@Lanskask
Copy link

What do I do and what is its result

$ make generate

# output
buf generate --path ./proto/helloworld/hello_world.proto
Failure: plugin openapiv2: could not find protoc plugin for name openapiv2
make: *** [generate] Error 1

I do it after

go get github.com/bufbuild/buf/cmd/buf 
go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway 
go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 
go get google.golang.org/grpc/cmd/protoc-gen-go-grpc 
go get google.golang.org/protobuf/cmd/protoc-gen-go

What do I expect

This command generates necessary files)

System info

uname -a
Darwin Bla.local 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:25:27 PDT 2022; root:xnu-8020.141.5~2/RELEASE_X86_64 x86_64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant