HttpEndpointMetadata

data class HttpEndpointMetadata(val id: String, val propertyName: String, val description: String?, val details: String?, val method: String, val path: List<String>, val parameters: List<ParameterMetadata>, val input: InputMetadata, val outputs: List<OutputMetadata>, val packageName: String, val sourceFile: String, val imports: List<String>, val rawType: String)(source)

Aggregated metadata describing a Tapik HTTP endpoint.

Constructors

Link copied to clipboard
constructor(id: String, propertyName: String, description: String?, details: String?, method: String, path: List<String>, parameters: List<ParameterMetadata>, input: InputMetadata, outputs: List<OutputMetadata>, packageName: String, sourceFile: String, imports: List<String>, rawType: String)

Properties

Link copied to clipboard

optional short summary of the endpoint.

Link copied to clipboard

optional long-form documentation.

Link copied to clipboard
val id: String

stable identifier for the endpoint.

Link copied to clipboard

fully-qualified imports required when generating clients.

Link copied to clipboard

input definition describing headers and body expected from the caller.

Link copied to clipboard

HTTP method handled by the endpoint.

Link copied to clipboard

possible response alternatives together with their headers and bodies.

Link copied to clipboard

package containing the endpoint declaration.

Link copied to clipboard

parameters captured by the endpoint.

Link copied to clipboard

ordered list of path segments and placeholders.

Link copied to clipboard

backing property or function used to expose the endpoint.

Link copied to clipboard

string representation of the original endpoint type.

Link copied to clipboard

Kotlin file hosting the endpoint declaration.