open_api_spex v3.2.0 OpenApiSpex.Encoding View Source

Defines the OpenApiSpex.Encoding.t type.

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %OpenApiSpex.Encoding{
  allowReserved: boolean() | nil,
  contentType: String.t() | nil,
  explode: boolean() | nil,
  headers:
    %{
      optional(String.t()) => OpenApiSpex.Header.t() | OpenApiSpex.Reference.t()
    }
    | nil,
  style: OpenApiSpex.Parameter.style() | nil
}

Encoding Object

A single encoding definition applied to a single schema property.