Register the expected content of the body.
Register content types which the route will consume.
Register content types which the route will consume. This is informational only and is NOT currently enforced.
Register content types which thus route will produce.
Register content types which thus route will produce. This is informational only and NOT currently enforced.
Register a possible response which could be produced by this route, with an example body (used for schema generation).
Register a possible response which could be produced by this route, with an example JSON body (used for schema generation).
Register an exact possible response which could be produced by this route.
Register an exact possible response which could be produced by this route. Will be used for schema generation if content is JSON.
Register one or more possible responses which could be produced by this route.
Register a possible response which could be produced by this route, with an example JSON body (used for schema generation).
Register a header/query parameter.
Register a header/query parameter. Mandatory parameters are checked for each request, and a 400 returned if any are missing.
Encapsulates the specification of an HTTP endpoint, for use by either a Finagle server or client.