View Source OpenApiSpex.RequestBody (open_api_spex v3.21.1)

Defines the OpenApiSpex.RequestBody.t type.

Summary

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.