Companion

Properties

Link copied to clipboard

Default configuration for standard JSON Schema Draft 2020-12 generation.

Link copied to clipboard

Compact, permissive configuration: only non-nullable fields that are neither optional nor have a known default are required, nullable properties carry no null marker, and extra properties are allowed. Nullable collection elements and map values keep an anyOf null branch, since they cannot be omitted.

Link copied to clipboard

Configuration for OpenAPI 3.x compatibility:

Link copied to clipboard

Configuration where all fields are required regardless of Kotlin default values.