-
Notifications
You must be signed in to change notification settings - Fork 277
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
allow multiple Swagger documents (no breaking changes), requires http… #168
Conversation
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.
Please update the README.md . We forgot to do this on swag.
Yes you are right. And I think we then need to tag swag in order to update the dependency in go.mod. Currently gin-swagger requires |
We plan to release a new version of swag in the next two weeks. So I guess this PR will have to stay on hold until then. |
Okay |
# Conflicts: # README.md # swagger_test.go
@ubogdan I have update the dependencies of gin-swagger, so this PR is now functional =) |
Codecov Report
@@ Coverage Diff @@
## master #168 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 81 87 +6
=========================================
+ Hits 81 87 +6
Continue to review full report at Codecov.
|
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
@h44z Thanks for your contribution |
Describe the PR
Allow the registration of multiple Swagger documents with different names.
This PR does not contain any breaking changes as the method signature change is backwards compatible.
It basically solves the problems listed in #885.
Relation issue
swaggo/swag#1022
Additional context
This PR requires swaggo/swag#1022 in Order to compile correctly!