OptionaldeprecatedOptionaldescriptionOptionalhiddenLeave the route out of the spec (with routes: 'all', or a route of a described group).
OptionallistThe 200 of list(c, page): the schema of one item, wrapped as the response contract answers.
OptionalokThe 200 of ok(c, data): the schema of data, wrapped as the response contract answers.
OptionaloperationOptionalrequestWhat the request carries, besides what the route's validate() declares.
Optionalbody?: objectOptionalbodyTypes?: string[]The body's media types. Default ['application/json'].
Optionalheaders?: objectOptionalparams?: objectOptionalquery?: objectOptionalresponsesResponses by status (201, 'default').
OptionalsecurityThe route's security requirements, instead of what its gates declare
([{ bearer: [] }]); [] for a public route under a global security.
OptionalsummaryOptionaltagsAdded to the tags of the groups the route is in.
How a route appears in
/openapi.json. SeedescribeRoute().