Skip to content

[I] OpenAPIXmlSchema3_2

OpenAPI 3.2 XML metadata, using nodeType in place of the legacy attribute and array-wrapper flags.

[key: `x-${string}`]: any
PropertyTypeDescriptionInherited from
attribute?booleanLegacy switch for serializing a property as an attribute; must not accompany nodeType. Deprecated This property is deprecated and SHOULD be replaced by the nodeType property.-
name?stringOverrides the XML element or attribute name.Omit.name
namespace?stringAbsolute URI identifying the XML namespace.Omit.namespace
nodeType?"attribute" | "element" | "text" | "cdata" | "comment" | "none"The type of the XML DOM node. Defaults to "none" for arrays or reference schemas, and "element" otherwise. See https://spec.openapis.org/oas/v3.2.0.html#xml-node-types-
prefix?stringNamespace prefix used in the XML representation.Omit.prefix
wrapped?booleanLegacy array-wrapper switch; must not accompany nodeType. Deprecated This property is deprecated and SHOULD be replaced by the nodeType property.-