http
fun <T, P : Parameters, I : Input<*, *>, O : Outputs> http(description: String? = null, details: String? = null, builder: HttpEndpointWithoutMethod.() -> HttpEndpoint<P, I, O>): ReadOnlyProperty<T, HttpEndpoint<P, I, O>>(source)
Declares an HTTP endpoint builder that captures property metadata at declaration time.
The returned delegate instantiates a HttpEndpointWithoutMethod so the caller can chain verb, URI, header, and body builders before materialising a HttpEndpoint.
Return
property delegate that records endpoint metadata using the owning property name.
Parameters
description
optional short description shown in generated documentation.
details
optional long-form documentation such as business rules or references.
builder
DSL block building the endpoint structure.