open_api_spex v2.0.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(),
  name: String.t(),
  namespace: String.t(),
  prefix: String.t(),
  wrapped: boolean()
}

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.