Note that properties of OpenAPI objects will be in OpenAPI 3.0 form, as Swagger / OpenAPI 2.0 definitions are converted automatically.
method
- the HTTP method of the operation (in lower-case)methodUpper
- the HTTP method of the operation (in upper-case)url
- the full URL of the operation (including protocol and host)consumes[]
- an array of MIME-types the operation consumesproduces[]
- an array of MIME-types the operation producesoperation
- the current operation objectoperationId
- the current operation idopName
- the operationId if set, otherwise the method + pathtags[]
- the full list of tags applying to the operationsecurity
- the security definitions applying to the operationresource
- the current tag/path objectparameters[]
- an array of parameters for the operation (see below)queryString
- an example queryString, urlEncodedrequiredQueryString
- an example queryString forrequired:true
parametersqueryParameters[]
- a subset ofparameters
that arein:query
requiredParameters[]
- a subset ofqueryParameters
that arerequired:true
headerParameters[]
- a subset ofparameters
that arein:header
allHeaders[]
- a concatenation ofheaderParameters
and pseudo-parametersAccept
andContent-Type
parameters[]
- an array of parameters, including the following pseudo-propertiesshortDesc
- a truncated version of the parameter descriptionsafeType
- a computed version of the parameter type, including Body and schema namesoriginalType
- the original type of the parameterexampleValues
- an object containing examples for use in code-templatesjson
- example values in JSON compatible syntaxobject
- example values in raw object form (unquoted strings etc)
depth
- a zero-based indicator of the depth of expanded request body parameters
enums[]
- an array of (parameter)name/value pairs
responses[]
- an array of responses, includingstatus
andmeaning
properties
authenticationStr
- a simple string of methods (and scopes where appropriate)securityDefinitions[]
- an array of applicable securityDefinitions
schemaProperties[]
- an array ofname
type
required
description
enums[]
- an array of (schema property)name/value pairs
openapi
- the top-level OpenApi / Swagger documentheader
- the front-matter of the Slate/Shins markdown documenthost
- the (computed) host of the APIprotocol
- the default/first protocol of the APIbaseUrl
- the (computed) baseUrl of the API (including protocol and host)