View Source OpenApiSpex.MediaType (open_api_spex v3.21.1)
Defines the OpenApiSpex.MediaType.t
type.
Summary
Types
@type t() :: %OpenApiSpex.MediaType{ encoding: %{String => OpenApiSpex.Encoding.t()} | nil, example: any(), examples: %{ required(String.t()) => OpenApiSpex.Example.t() | OpenApiSpex.Reference.t() } | nil, extensions: %{required(String.t()) => any()} | nil, schema: OpenApiSpex.Schema.t() | OpenApiSpex.Reference.t() | nil }
Each Media Type Object provides schema and examples for the media type identified by its key.