Skip to content

Commit

Permalink
feat: bump victools to 4.33.1 and inline nullable schemas by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Innovatrics-ABIS-BMA committed Mar 12, 2024
1 parent 552ccf3 commit c1b953f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dependencies {
val swaggerParserVersion = "2.1.19"
implementation("io.swagger.parser.v3:swagger-parser:$swaggerParserVersion")

val jsonSchemaGeneratorVersion = "4.32.0"
val jsonSchemaGeneratorVersion = "4.33.1"
implementation("com.github.victools:jsonschema-generator:$jsonSchemaGeneratorVersion")
implementation("com.github.victools:jsonschema-module-jackson:$jsonSchemaGeneratorVersion")
implementation("com.github.victools:jsonschema-module-swagger-2:$jsonSchemaGeneratorVersion")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ data class EncodingData(
.with(Option.ALLOF_CLEANUP_AT_THE_END)
.with(Option.MAP_VALUES_AS_ADDITIONAL_PROPERTIES)
.with(Option.DEFINITIONS_FOR_ALL_OBJECTS)
.with(Option.INLINE_NULLABLE_SCHEMAS)
.without(Option.INLINE_ALL_SCHEMAS)
.also {
it.forTypesInGeneral()
Expand Down

0 comments on commit c1b953f

Please sign in to comment.