Skip to content

Commit

Permalink
Update Json Schema to do not use format tag
Browse files Browse the repository at this point in the history
  • Loading branch information
sashirestela committed Nov 19, 2024
1 parent 063f6d5 commit de56279
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public DefaultSchemaConverter(Boolean isStructuredOutput) {
var configBuilder = new SchemaGeneratorConfigBuilder(SchemaVersion.DRAFT_2020_12, OptionPreset.PLAIN_JSON)
.with(jacksonModule)
.with(Option.FORBIDDEN_ADDITIONAL_PROPERTIES_BY_DEFAULT)
.without(Option.STANDARD_FORMATS)
.without(Option.SCHEMA_VERSION_INDICATOR);
if (Boolean.TRUE.equals(isStructuredOutput)) {
configBuilder.forFields().withRequiredCheck(field -> Boolean.TRUE);
Expand Down

0 comments on commit de56279

Please sign in to comment.