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
|
The xml element or attribute name. Default value: None
|
|
namespace
|
The xml namespace. Default value: None
|
|
prefix
|
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
|
The xml element or attribute name. |
|
namespace
|
The xml namespace. |
|
prefix
|
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. |