withSchemaObject

abstract val withSchemaObject: Property<Boolean>(source)

Whether to generate the jsonSchema JsonObject property in addition to jsonSchemaString. When enabled, both extension properties are generated:

  • jsonSchemaString: String

  • jsonSchema: JsonObject

Default: true