jsExport

abstract val jsExport: Property<Boolean>

Whether to add the JsExport annotation to generated models. This is useful to be able to cast JSON parsed responses into Kotlin classes using unsafeCast.

Only valid if generateKotlinModels is true.

This is currently experimental and this API might change in the future.

Default: false