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

combine swagger file to one #643

Closed
wants to merge 2 commits into from
Closed

Conversation

cy-zheng
Copy link
Contributor

@cy-zheng cy-zheng commented May 4, 2018

the cmd like this:
protoc src/pb/proto/models.proto src/pb/proto/models2.proto --swagger_out=allow_merge=true,merge_file_name=myswagger,logtostderr=true:src/static/

@codecov-io
Copy link

Codecov Report

Merging #643 into master will decrease coverage by 0.85%.
The diff coverage is 8.62%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #643      +/-   ##
==========================================
- Coverage   58.94%   58.08%   -0.86%     
==========================================
  Files          30       30              
  Lines        2857     2899      +42     
==========================================
  Hits         1684     1684              
- Misses       1010     1051      +41     
- 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 31596c4...04ca8b3. Read the comment docs.

@cy-zheng cy-zheng changed the title combine swagger file to one and fix CLA combine swagger file to one May 7, 2018
@wanghong230
Copy link

This is the feature I am looking for.

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.

4 participants