withBody

infix fun <Res> Int.withBody(body: Res): ApiResponse<Res, Empty>

Creates an ApiResponse with the given body.