-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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 swagger for gRPC REST #7075
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7075 +/- ##
==========================================
- Coverage 54.78% 53.85% -0.94%
==========================================
Files 563 418 -145
Lines 38624 30117 -8507
==========================================
- Hits 21162 16219 -4943
+ Misses 15730 12608 -3122
+ Partials 1732 1290 -442 |
…21-swagger-gen # Conflicts: # contrib/devtools/Makefile # go.mod # go.sum
@@ -0,0 +1,90 @@ | |||
{ | |||
"swagger": "2.0", |
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.
If i'm not mistaken, there's a new version 3, rebranded to OpenAPI. Why don't we use v3 instead? Maybe the merging issue will not even be relevant anymore.
Edit: that's why grpc-ecosystem/grpc-gateway#441. Keeping this comment for an FYI.
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.
ACK, installed swagger-combine on my machine and ran this.
Just a file permission change request.
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
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.
Can you clarify how would it work for a custom app to create and combine their own swagger files?
ref: #5921
Description
closes: #XXXX
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes