Skip to content

Commit

Permalink
Merge pull request #85 from bklp/feature/bump-victools-to-inline-null…
Browse files Browse the repository at this point in the history
…able-schemas

feat: bump victools to 4.33.1 and inline nullable schemas by default
  • Loading branch information
SMILEY4 authored Mar 15, 2024
2 parents 552ccf3 + c1b953f commit 6699f97
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 6699f97

Please sign in to comment.