-
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
Merging swagger specs fails to use rpc comments (again) #923
Comments
Yes. I've confirmed "fix" this problem by the following step.
Of course we really need the 8140d98 changes but these might have some side effects which we should also fix. |
Hm, ideally what we need here is a way to reproduce this with a test case, so we can iterate quickly on a fix and ensure this error doesn't happen again in the future. Would you be interested in trying to fix this? I don't have the time to investigate further. |
Has there been any update on this? It seems that it's still broken. |
Not that I know. I think we'll have to revert 8140d98 for now and make another release. I'll get on that. |
This reverts the changes introduced in grpc-ecosystem#833. It caused a regression in the swagger generator allow_merge behaviour. Fixes grpc-ecosystem#923
This is same issue with #664 but the current version of grpc-gateway (it might be v1.6.3 or later) has this issue again.
Steps you follow to reproduce the error:
a.proto
andb.proto
by following Merging swagger specs fails to use rpc comments #664 (comment) instructionWhat did you expect to happen instead:
b.swagger.json has valid summary and description for "ListBars" operation but apidocs.swagger.json doesn't.
What's your theory on why it isn't working:
I've confirmed v1.6.2 generates a valid merged swagger spec. Changes of v1.6.3 might break this feature: v1.6.2...v1.6.3
Oh, I've tried revert 8140d98 and I could get the expected behavior.
The text was updated successfully, but these errors were encountered: