Package-level declarations
Types
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.FILE ] )
Each generated class, function and files is annotated with this to identify them if they need to be excluded, for instance by static analysis tools.
Link copied to clipboard
annotation class KtorGen(val name: String = KTORGEN_DEFAULT_NAME, val generate: Boolean = true, @Language(value = "http-url-reference"
Indicates that an interface should be used for Ktor Client code generation.
Link copied to clipboard
annotation class KtorGenExperimental
Experimental API, the compiler can omit the property or annotation, or generated code has errors.
Link copied to clipboard
annotation class KtorGenFunction(val generate: Boolean = true, val propagateAnnotations: Boolean = true, val annotations: Array<KClass<out Annotation>> = [], val optInAnnotations: Array<KClass<out Annotation>> = [], val customHeader: String = "")
Indicates that a method within a @KtorGen
-annotated interface should participate in code generation.