Skip to content

Conversation

fehguy
Copy link
Contributor

@fehguy fehguy commented Apr 3, 2016

Adds templates for Jersey 2, updates formatting for Jersey 1.18 and makes generation timestamps optional.

Fixes #832, #1554, #2263

@fehguy fehguy added this to the v2.1.6 milestone Apr 3, 2016
@SuppressWarnings("unchecked")
List<CodegenOperation> ops = (List<CodegenOperation>) operations.get("operation");
for ( CodegenOperation operation : ops ) {
boolean isMultipartPost = false;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This addresses an issue where @FormData was being used for multipart/form-data, causing runtime errors when posting.

@wing328
Copy link
Contributor

wing328 commented Apr 4, 2016

@fehguy I ran some tests and didn't find any issues. PR merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants