[Java] fix JSON template (no samples update)

This commit is contained in:
Oleh Kurpiak 2023-02-11 12:52:55 +02:00
parent e702506e4d
commit 9a0aee90bd
2 changed files with 2 additions and 2 deletions

View File

@ -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())

View File

@ -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())