respondsOk

inline fun <T> respondsOk(description: String = "Successful operation")(source)

Declares a successful (200 OK) response returning T wrapped in KeelResponse<T>.

Parameters

T

The data type returned in KeelResponse.data

description

Human-readable description of the success response