SchemaGeneratorBuilder
Builder class for constructing a SchemaGenerator with customizable modules and options. This builder allows configuration of various JSON schema generation modules including Jackson, Jakarta Validation, Swagger2, Kotlin, Joda Money, and Wow-specific modules.
Properties
Jackson module for handling Jackson annotations in schema generation.
The preset of options to apply to the schema generator.
The JSON Schema version to use for generation.
Functions
Builds a generator from buildConfig.
The generator configuration: the modules in a fixed order, then options, then the customizer.
A builder with the same settings: changing a setting of either one leaves the other as it is. The module instances are shared, not copied, and a module such as WowJacksonModule keeps the object mapper of the last configuration it was applied to, so build at most one of the two when they use different object mappers.