Endpoint

abstract class Endpoint<out P : Parameters, out I : Input<*, *>, out O>(source)

Represents a fully-defined endpoint surface that can be consumed by code generators.

Parameters

P

tuple capturing path and query parameters.

I

inbound definition coupling headers with the request body.

O

outbound response definitions pairing status matchers with headers and body.

Inheritors

Constructors

Link copied to clipboard
constructor()