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

Properties

Link copied to clipboard
Link copied to clipboard