open_api_spex v3.2.0 OpenApiSpex.RequestBody View Source

Defines the OpenApiSpex.RequestBody.t type.

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %OpenApiSpex.RequestBody{
  content: %{optional(String.t()) => OpenApiSpex.MediaType.t()},
  description: String.t() | nil,
  required: boolean()
}

Request Body Object

Describes a single request body.