open_api_spex v1.1.3 OpenApiSpex.MediaType View Source
Defines the OpenApiSpex.MediaType.t
type.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %OpenApiSpex.MediaType{encoding: %{optional(String) => OpenApiSpex.Encoding.t}, example: any, examples: %{optional(String.t) => OpenApiSpex.Example.t | OpenApiSpex.Reference.t}, schema: OpenApiSpex.Schema.t | OpenApiSpex.Reference.t}
Each Media Type Object provides schema and examples for the media type identified by its key.