CodeSquared docs

OasDocument

OasDocument is an object representing an OpenAPI document.

Properties

PropertyTypeDescription
oasType'openapi'Static value representing the OpenAPI document type.
openapistringThe version of the OpenAPI specification used by the document.
infoOasInfoOasInfo object representing the API information.
operationsOasOperation[]Array of OasOperation objects representing the API operations.
componentsOasComponents | undefinedOasComponents object containing re-usable schema items within the API
tagsOasTag[] | undefinedOptional array of OasTag objects.
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.