requiresOptInAnnotation

The annotation to use for @requiresOptIn fields/inputFields/enumValues

Only valid if generateKotlinModels is true.

This API is itself experimental and may change without advance notice

You can pass the special value "none" to disable adding an annotation. If you're using a custom annotation, it must be able to target:

  • AnnotationTarget.PROPERTY

  • AnnotationTarget.CLASS

Default: "none"