View Source OpenApiSpex.Xml (open_api_spex v3.16.0)

Defines the OpenApiSpex.Xml.t type.

Link to this section Summary

Link to this section Types

@type t() :: %OpenApiSpex.Xml{
  attribute: boolean() | nil,
  extensions: %{required(String.t()) => any()} | 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.