View Source OpenApiSpex.Encoding (open_api_spex v3.21.1)

Defines the OpenApiSpex.Encoding.t type.

Summary

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.