View Source OpenApiSpex.Xml (open_api_spex v3.21.1)

Defines the OpenApiSpex.Xml.t type.

Summary

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.