GenerateTask

class GenerateTask(config: GenerateTaskConfiguration, log: (String, Throwable?) -> Unit, logDebug: (String, Throwable?) -> Unit, logWarn: (String, Throwable?) -> Unit)(source)

A task that generates client code from tapik endpoint definitions.

Parameters

config

The configuration for this task.

log

A function to log messages.

logDebug

A function to log debug messages.

logWarn

A function to log warning messages.

Constructors

Link copied to clipboard
constructor(config: GenerateTaskConfiguration, log: (String, Throwable?) -> Unit, logDebug: (String, Throwable?) -> Unit, logWarn: (String, Throwable?) -> Unit)

Functions

Link copied to clipboard
fun generate()

Generates client code from tapik endpoint definitions.