Skip to content
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

fix bug: the resource name of custom method doesn't be retained #805

Merged
merged 1 commit into from Nov 13, 2018

Conversation

ch3rub1m
Copy link
Contributor

Last PR (#704) from me made a mistake. If someone define a custom method, the resource name in the path will not be retained.

This PR fixed the bug and added many test cases.

@codecov-io
Copy link

Codecov Report

Merging #805 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #805      +/-   ##
=========================================
+ Coverage   53.27%   53.3%   +0.02%     
=========================================
  Files          30      30              
  Lines        3369    3371       +2     
=========================================
+ Hits         1795    1797       +2     
  Misses       1399    1399              
  Partials      175     175
Impacted Files Coverage Δ
protoc-gen-swagger/genswagger/template.go 38.52% <100%> (+0.13%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3ff87af...c40e144. Read the comment docs.

Copy link
Collaborator

@johanbrandhorst johanbrandhorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johanbrandhorst johanbrandhorst merged commit aa4f5a4 into grpc-ecosystem:master Nov 13, 2018
@ch3rub1m ch3rub1m deleted the fix-swagger-path branch November 13, 2018 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants