CodeSquared docs

OasPathItem

OasPathItem is an object containing shared data for an OpenAPI path item. Rather than acting as a parent object for all methods as it does in OpenAPI, it is instead a container for the shared properties of a path item and is available as a property of each OasOperation object.

Properties

PropertyTypeDescription
oasType'pathItem'Static value representing the OpenAPI path item type.
descriptionstring | undefinedOptional description of the path item.
summarystring | undefinedOptional summary of the path item.
serversOasServer[] | undefinedOptional servers for the path item.
parametersOasParameter[] | undefinedOptional parameters for the path item.
extensionFieldsRecord<string, unknown> | undefinedOptional map of custom fields defined by OpenAPI extensions. Keys are strings beginning with x- and values are of any valid JSON type.