annotations

KtorGenExperimental Additional annotations or only these annotations to propagate as-is from the interface to the generated implementation class and extension functions, see more info about functions.

The annotations need to have empty constructor like @JvmSynthetic. Annotations requires properties like @JvmName can't be used. In that case, declare manually a function with the generated class.

For example, [ExperimentalApi::class]

See also