mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 08:57:08 +00:00
[Java] fix JSON template (no samples update)
This commit is contained in:
@@ -38,7 +38,7 @@ public class JSON implements ContextResolver<ObjectMapper> {
|
|||||||
.defaultDateFormat(new RFC3339DateFormat())
|
.defaultDateFormat(new RFC3339DateFormat())
|
||||||
.addModule(new JavaTimeModule())
|
.addModule(new JavaTimeModule())
|
||||||
{{#joda}}
|
{{#joda}}
|
||||||
.addModule(new JodaModule());
|
.addModule(new JodaModule())
|
||||||
{{/joda}}
|
{{/joda}}
|
||||||
{{#openApiNullable}}
|
{{#openApiNullable}}
|
||||||
.addModule(new JsonNullableModule())
|
.addModule(new JsonNullableModule())
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ public class JSON implements ContextResolver<ObjectMapper> {
|
|||||||
.defaultDateFormat(new RFC3339DateFormat())
|
.defaultDateFormat(new RFC3339DateFormat())
|
||||||
.addModule(new JavaTimeModule())
|
.addModule(new JavaTimeModule())
|
||||||
{{#joda}}
|
{{#joda}}
|
||||||
.addModule(new JodaModule());
|
.addModule(new JodaModule())
|
||||||
{{/joda}}
|
{{/joda}}
|
||||||
{{#openApiNullable}}
|
{{#openApiNullable}}
|
||||||
.addModule(new JsonNullableModule())
|
.addModule(new JsonNullableModule())
|
||||||
|
|||||||
Reference in New Issue
Block a user