Skip to content

[T] OpenAPI3XmlSchema

type OpenAPI3XmlSchema = Extensions & object;

XML serialization metadata for a schema, separate from its JSON property names and structure.

NameTypeDescription
attribute?booleanSerializes this property as an XML attribute instead of an element; defaults to false.
name?stringOverrides the XML element or attribute name.
namespace?stringAbsolute URI identifying the XML namespace.
prefix?stringNamespace prefix used in the XML representation.
wrapped?booleanWraps array item elements in a container element; only applies to arrays and defaults to false.