-
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
Add --omit_package_doc flag #1702
Conversation
Makes it possible to omit the package comment from generated code. This is useful if the generated code is added to an existing package that already has package documentation (the generated package comment might be misleading in that case). Co-authored-by: olivierlemasle <[email protected]>
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 😄 Thank you
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.
This looks great, thank you!
Not sure how the Google CLA bot didn't react to this, but @RJPercival could you please give consent for this to be merged since it's based on your original PR? |
It might be because I'm a xoogler. I'm happy for this to be merged 👍 |
Thanks for your contribution! Could you please cherry-pick this against v2? |
Makes it possible to omit the package comment from generated code. This is useful if the generated code is added to an existing package that already has package documentation (the generated package comment might be misleading in that case). Co-authored-by: olivierlemasle <[email protected]> Co-authored-by: Rob Percival <[email protected]>
Makes it possible to omit the package comment from generated code. This is useful if the generated code is added to an existing package that already has package documentation (the generated package comment might be misleading in that case). Co-authored-by: olivierlemasle <[email protected]> Co-authored-by: Rob Percival <[email protected]>
References to other Issues or PRs
Fixes #1701
Have you read the Contributing Guidelines?
Yes
Brief description of what is fixed or changed
Add an option
-omit_package_doc
to omit the package comment from generated code in gRPC gateway. This is useful if the generated code is added to an existing package that already has package documentation (the generated package comment might be misleading in that case).Other comments
This is a rebased re-openening of #1103.