Share via


SwaggerXml Class

The Swagger XML.

Constructor

SwaggerXml(*, name: str | None = None, namespace: str | None = None, prefix: str | None = None, attribute: bool | None = None, wrapped: bool | None = None, extensions: Dict[str, Any] | None = None, **kwargs)

Keyword-Only Parameters

Name Description
name
str

The xml element or attribute name.

Default value: None
namespace
str

The xml namespace.

Default value: None
prefix
str

The name prefix.

Default value: None
attribute

Indicates whether the property should be an attribute instead of an element.

Default value: None
wrapped

Indicates whether the array elements are wrapped in a container element.

Default value: None
extensions

The vendor extensions.

Default value: None

Variables

Name Description
name
str

The xml element or attribute name.

namespace
str

The xml namespace.

prefix
str

The name prefix.

attribute

Indicates whether the property should be an attribute instead of an element.

wrapped

Indicates whether the array elements are wrapped in a container element.

extensions

The vendor extensions.