IntentionallyOpen
annotation class IntentionallyOpen(val description: String = "", val reason: ExemptionReason = ExemptionReason.OTHER)(source)
Exempts the annotated class, interface, or actual typealias from Open API without subclass opt-in.
Apply it when unrestricted subclassing outside the library is part of the API contract. The annotation on an expect class also exempts its actual class or actual typealias.
Parameters
description
Why the exemption is applied. Can be empty when reason is ExemptionReason.FOR_BACKWARDS_COMPATIBILITY, ExemptionReason.API_DESIGN, or ExemptionReason.FOR_DEPRECATION.