View Source OpenApiSpex.Encoding (open_api_spex v3.19.0)

Defines the OpenApiSpex.Encoding.t type.

Link to this section Summary

Link to this section Types

@type t() :: %OpenApiSpex.Encoding{
  allowReserved: boolean() | nil,
  contentType: String.t() | nil,
  explode: boolean() | nil,
  extensions: %{required(String.t()) => any()} | nil,
  headers:
    %{
      required(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.