mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-29 12:10:54 +00:00
[Java] fix JSON template (no samples update)
This commit is contained in:
parent
e702506e4d
commit
9a0aee90bd
@ -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())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user