open_api_spex v3.4.0 OpenApiSpex.Xml View Source

Defines the OpenApiSpex.Xml.t type.

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %OpenApiSpex.Xml{
  attribute: boolean() | nil,
  name: String.t() | nil,
  namespace: String.t() | nil,
  prefix: String.t() | nil,
  wrapped: boolean() | nil
}

XML Object

A metadata object that allows for more fine-tuned XML model definitions. When using arrays, XML element names are not inferred (for singular/plural forms) and the name property SHOULD be used to add that information. See examples for expected behavior.