-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
protoc-gen-openapiv2: Add openapiv2_tag support #1866
Conversation
Fixes grpc-ecosystem#690 Signed-off-by: Ryan Goodfellow <rgoodfel@isi.edu>
Signed-off-by: Ryan Goodfellow <rgoodfel@isi.edu>
Signed-off-by: Ryan Goodfellow <rgoodfel@isi.edu>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking this on! It doesn't look too bad. Some minor cosmetic suggestions and a question around the use of renderServices
is all.
- Factor service tag rendering out of service rendering function - Add omitempty tags where applicable Signed-off-by: Ryan Goodfellow <rgoodfel@isi.edu>
Failed CI task appears to be an issue with the fuzzit service
|
Thanks for the feedback and quick response @johanbrandhorst. I believe I've addressed the comments. |
Signed-off-by: Ryan Goodfellow <rgoodfel@isi.edu>
Signed-off-by: Ryan Goodfellow <rgoodfel@isi.edu>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for your contribution! |
References to other Issues or PRs
Fixes #690
Brief description of what is fixed or changed
Added a
renderServiceTag
method to pick upopenapiv2_tag
options. The change is pretty surgical aside from the fact that the return type forrenderServices
was changed to propagate discovered tags back to the caller. So a small pile of return statements had to be updated.Other comments
Thanks to the grpc-gateway team, it's a really great tool.