Closed bklp closed 5 months ago
The generation of nullable types in "definitions"/$defs" is kind of weird. They show up listed in Schemas like this "-nullable" and they are pretty redundant in case there is already non-nullable definition of the same type.
Since victools/jsonschema-generator 4.33.0 there is Option.INLINE_NULLABLE_SCHEMAS to adress this (see https://github.com/victools/jsonschema-generator/blob/main/CHANGELOG.md#4330---2023-11-23).
victools/jsonschema-generator
Option.INLINE_NULLABLE_SCHEMAS
Because of this I'd recommend bumping the version of victools/jsonschema-generator to 4.33.0 or higher.
The generation of nullable types in "definitions"/$defs" is kind of weird. They show up listed in Schemas like this "-nullable" and they are pretty redundant in case there is already non-nullable definition of the same type.
Since
victools/jsonschema-generator
4.33.0 there isOption.INLINE_NULLABLE_SCHEMAS
to adress this (see https://github.com/victools/jsonschema-generator/blob/main/CHANGELOG.md#4330---2023-11-23).Because of this I'd recommend bumping the version of
victools/jsonschema-generator
to 4.33.0 or higher.