OpenApiSpex.Xml (open_api_spex v3.10.0) View Source
Defines the OpenApiSpex.Xml.t type.
Link to this section Summary
Link to this section Types
Specs
t() :: %OpenApiSpex.Xml{
attribute: boolean() | nil,
name: String.t() | nil,
namespace: String.t() | nil,
prefix: String.t() | nil,
wrapped: boolean() | nil
}
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.