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

Generate a single swagger definition on demand #658

Merged
merged 2 commits into from
May 23, 2018

Conversation

achew22
Copy link
Collaborator

@achew22 achew22 commented May 23, 2018

Combines the efforts of @cy-zheng in #643 with the efforts of @zxy198717 in #591.

Fixes: #643, #591, #99

@googlebot
Copy link

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of the commit author(s) and merge this pull request when appropriate.

@achew22
Copy link
Collaborator Author

achew22 commented May 23, 2018

I manually edited both changes to leave authorship with their respective author, rebased and uploaded. This can now fix a long standing issue. Thanks so much everyone!

@hexfusion
Copy link
Contributor

@achew22 any idea when this might be released? Would it make 1.4.x?

@codecov-io
Copy link

Codecov Report

Merging #658 into master will decrease coverage by 1.15%.
The diff coverage is 6.84%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #658      +/-   ##
==========================================
- Coverage   58.94%   57.78%   -1.16%     
==========================================
  Files          30       30              
  Lines        2857     2914      +57     
==========================================
  Hits         1684     1684              
- Misses       1010     1066      +56     
- Partials      163      164       +1
Impacted Files Coverage Δ
protoc-gen-swagger/genswagger/generator.go 0% <0%> (ø) ⬆️
protoc-gen-grpc-gateway/descriptor/registry.go 71.03% <0%> (-3.25%) ⬇️
protoc-gen-swagger/genswagger/template.go 42.1% <100%> (-0.25%) ⬇️
protoc-gen-swagger/main.go 27.38% <42.85%> (+1.4%) ⬆️

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 74ba578...e7b79eb. Read the comment docs.

@achew22 achew22 merged commit cb416f8 into grpc-ecosystem:master May 23, 2018
@achew22 achew22 deleted the one_swagger_output branch May 23, 2018 02:49
@achew22
Copy link
Collaborator Author

achew22 commented May 23, 2018

@hexfusion ask and you shall receive https://github.com/grpc-ecosystem/grpc-gateway/releases/tag/v1.4.1

@hexfusion
Copy link
Contributor

Perfect thanks a lot!

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.

6 participants