View Source OpenApiSpex.RequestBody (open_api_spex v3.18.1)

Defines the OpenApiSpex.RequestBody.t type.

Link to this section Summary

Link to this section Types

@type t() :: %OpenApiSpex.RequestBody{
  content: %{required(String.t()) => OpenApiSpex.MediaType.t()},
  description: String.t() | nil,
  extensions: %{required(String.t()) => any()} | nil,
  required: boolean()
}

Request Body Object

Describes a single request body.