forked from loafle/openapi-generator-original
[Java/Jackson] use a jdk6 compatible DateFormat for java.util.Date (#3768)
* [feign] use a jdk6 compatible serializer for java.util.Date See #3727 Fix #3753 * [jersey] use a jdk6 compatible DateFormat for java.util.Date
This commit is contained in:
committed by
wing328
parent
522e27b752
commit
2680995825
@@ -142,6 +142,10 @@ public class JavaClientCodegen extends AbstractJavaCodegen {
|
||||
} else {
|
||||
LOGGER.error("Unknown library option (-l/--library): " + getLibrary());
|
||||
}
|
||||
|
||||
if (additionalProperties.containsKey("jackson") ) {
|
||||
supportingFiles.add(new SupportingFile("RFC3339DateFormat.mustache", invokerFolder, "RFC3339DateFormat.java"));
|
||||
}
|
||||
}
|
||||
|
||||
private boolean usesAnyRetrofitLibrary() {
|
||||
|
||||
Reference in New Issue
Block a user