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
🐛HttpRule is stated in unannotated_echo_service.yaml, but warning is still issued #1578
Comments
cc @andrascz |
@piengeng please check the generated
So in my opinion the warning is valid and fulfills its purpose. |
@andrascz you're right, my bad, i missed out the |
Happy to hear it was resolved. Do you think we could improve our documentation to prevent other users from making this mistake in the future? We'd love your input to help make it better for the next user 😃. |
Actually, i was following the steps in the documentation (https://grpc-ecosystem.github.io/grpc-gateway/docs/grpcapiconfiguration.html), it didn't mentioned Not to mention, the google's doc (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rpc/google.api#google.api.HttpRule) is a bit too confusing for me. |
Ah, sounds like we could improve this, would you be willing to contribute an update to the docs? This page is defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/docs/_docs/grpcapiconfiguration.md. Let me know if you need any help. |
add `--swagger_out` reference to issue grpc-ecosystem#1578
To Reproduce
using existing example/internal/proto/examplepb/
new content of grpc-gateway\examples\internal\proto\examplepb\compile.bat
Expected behavior
no warning or provide better solution/message to help solve the warning.
Actual Behavior
Your Environment
libprotoc 3.12.4
protoc-gen-grpc-gateway Version 1.14.6, commit 7988867, built at 2020-05-25T10:53:01Z
protoc-gen-swagger Version 1.14.6, commit 7988867, built at 2020-05-25T10:53:05Z
also tested on dev version of protoc-gen-grpc-gateway and protoc-gen-swagger
go1.14.7
windows 10
The text was updated successfully, but these errors were encountered: