java.lang.Object
com.asyncapi.schemas.openapi.v3._0_0.properties.Extensions
com.asyncapi.schemas.openapi.v3._0_0.properties.XML

public class XML extends Extensions
XML
Version:
3.0.0
Author:
Pavel Bodiachevskii
See Also:
  • Field Details

    • name

      @Nullable @JsonPropertyDescription("Replaces the name of the element/attribute used for the described schema property.") public @Nullable String name
      Replaces 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

      public String namespace
      The URI of the namespace definition.

      Value MUST be in the form of an absolute URI.

      See Also:
    • prefix

      public String prefix
      The prefix to be used for the name.
      See Also:
    • attribute

      public Boolean attribute
      Declares whether the property definition translates to an attribute instead of an element.

      Default value is false.

      See Also:
    • wrapped

      public Boolean wrapped
      MAY be used only for an array definition.

      Signifies whether the array is wrapped:

      
       <books>
           <book/><book/>
       </books>
       
      or unwrapped:
      
       <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()