open_api_spex v2.0.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(),
  contentType: String.t(),
  explode: boolean(),
  headers: %{
    optional(String.t()) => OpenApiSpex.Header.t() | OpenApiSpex.Reference.t()
  },
  style: OpenApiSpex.Parameter.style()
}

Encoding Object

A single encoding definition applied to a single schema property.