Class XML
java.lang.Object
com.asyncapi.schemas.openapi.v3._0_0.properties.Extensions
com.asyncapi.schemas.openapi.v3._0_0.properties.XML
XML
- Version:
- 3.0.0
- Author:
- Pavel Bodiachevskii
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeclares whether the property definition translates to an attribute instead of an element.@Nullable StringReplaces the name of the element/attribute used for the described schema property.The URI of the namespace definition.The prefix to be used for thename.MAY be used only for an array definition.Fields inherited from class com.asyncapi.schemas.openapi.v3._0_0.properties.Extensions
extensions -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.asyncapi.schemas.openapi.v3._0_0.properties.Extensions
readExtensionProperty
-
Field Details
-
name
@Nullable @JsonPropertyDescription("Replaces the name of the element/attribute used for the described schema property.") public @Nullable String nameReplaces the name of the element/attribute used for the described schema property.When defined within items, it will affect the name of the individual XML elements within the list.
When defined alongside type being array (outside the items), it will affect the wrapping element and only if wrapped is true. If wrapped is false, it will be ignored.
- See Also:
-
namespace
The URI of the namespace definition.Value MUST be in the form of an absolute URI.
- See Also:
-
prefix
The prefix to be used for thename.- See Also:
-
attribute
Declares whether the property definition translates to an attribute instead of an element.Default value is false.
- See Also:
-
wrapped
MAY be used only for an array definition.Signifies whether the array is wrapped:
or unwrapped:<books> <book/><book/> </books><book/><book/>Default value is false.
The definition takes effect only when defined alongside type being array (outside the items).
- See Also:
-
-
Constructor Details
-
XML
public XML()
-