Releases
v4.11.0
4.11.0 – Maven Plugin and Preparation for OpenAPI 3.1
Compare
Sorry, something went wrong.
No results found
jsonschema-generator
Added
New Option.MAP_VALUES_AS_ADDITIONAL_PROPERTIES to include additionalProperties with a schema for each Map<K, V>'s value type V
New Option.DEFINITION_FOR_MAIN_SCHEMA to allow moving main/target schema into definitions/$defs
New Option.PLAIN_DEFINITION_KEYS to ensure keys in definitions/$defs adhere to the reduced set of allowed characters expected by OpenAPI
New SchemaGenerator.buildMultipleSchemaDefinitions() allowing to generate JSON Schema elements (e.g. for building an OpenAPI description)
Fixed
Skip fields for which isFakeContainerItemScope() returns true, when fulfilling value collection for Option.VALUES_FROM_CONSTANT_FIELDS
Treat Byte/byte as "type": "string" and not as "type": "integer" by default
jsonschema-maven-plugin
Added
Initial implementation
Support schema generation from one or multiple classes
Support schema generation for all classes in one or multiple packages
Allow configuration of target schema version
Allow configuration of OptionPreset (also allowing for NONE)
Allow configuration of individual Options to be enabled/disabled
Allow configuration of standard modules by name, with possible list of module options
Allow configuration of custom modules by class name
You can’t perform that action at this time.