-
Notifications
You must be signed in to change notification settings - Fork 6k
Support library template (sub-template); add jersey2 template for Java client #1046
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
Merged
fehguy
merged 15 commits into
swagger-api:develop_2.0
from
xhh:library-template-jersey2
Aug 23, 2015
Merged
Support library template (sub-template); add jersey2 template for Java client #1046
fehguy
merged 15 commits into
swagger-api:develop_2.0
from
xhh:library-template-jersey2
Aug 23, 2015
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for a specific language
Conflicts: modules/swagger-codegen/src/main/resources/Java/ApiClient.mustache
Conflicts: modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavaClientCodegen.java modules/swagger-codegen/src/main/resources/Java/api.mustache
ok wow. This does look good to me. I'll see about the conflicts and report back if i can't merge it |
Conflicts: modules/swagger-codegen/src/main/resources/Java/JsonUtil.mustache
@fehguy I've just fixed the conflicts. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See #950 for background and context of this PR.
Added a
library
config option to specify the library template (sub-template) to be usedRefactored
ApiClient#invokeAPI
and JSON handling to make it easier to override underlying HTTP client and JSON processingAdded a
jersey2
library template to generate Java client with jersey-client 2.6 instead of the default 1.18The jersey2 template is mainly from PR updated client to use jersey2, rebuilt samples #950 by @fehguy
@fehguy please have a look at this, and if you have any concerns (e.g. the naming of the
library
option), please comment and I'll revise accordingly