[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()) .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())

View File

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