RouteMetaDsl
Properties
Functions
Add request metadata to this Route. A route only supports a single possible request.
Set the input body type for this request WITHOUT an example. Hence the content-type will be registered but no example schema will be generated.
Add negotiated example requests to this route. It is also possible to pass in the definitionId for this request body which will override the naturally generated one.
Add an example request (using a Lens and a value) to this Route. It is also possible to pass in the definitionId for this request body which will override the naturally generated one.
Add possible responses to this Route.
Add a possible response description/reason and status to this Route
Add possible response metadata to this Route. A route supports multiple possible responses.
Add possible response statuses to this Route with no example.
Add all negotiated responses, with samples. It is also possible to pass in the definitionId for this response body which will override the naturally generated one.
Add an example response (using a Lens and a value) to this Route. It is also possible to pass in the definitionId for this response body which will override the naturally generated one.