mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-28 19:50:49 +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())
|
||||
.addModule(new JavaTimeModule())
|
||||
{{#joda}}
|
||||
.addModule(new JodaModule());
|
||||
.addModule(new JodaModule())
|
||||
{{/joda}}
|
||||
{{#openApiNullable}}
|
||||
.addModule(new JsonNullableModule())
|
||||
|
@ -38,7 +38,7 @@ public class JSON implements ContextResolver<ObjectMapper> {
|
||||
.defaultDateFormat(new RFC3339DateFormat())
|
||||
.addModule(new JavaTimeModule())
|
||||
{{#joda}}
|
||||
.addModule(new JodaModule());
|
||||
.addModule(new JodaModule())
|
||||
{{/joda}}
|
||||
{{#openApiNullable}}
|
||||
.addModule(new JsonNullableModule())
|
||||
|
Loading…
x
Reference in New Issue
Block a user