Current section

Files

Jump to
oapi_open_ai lib schemas message update_request.ex
Raw

lib/schemas/message/update_request.ex

defmodule OpenAi.Message.UpdateRequest do
@moduledoc """
Provides struct and type for a Message.UpdateRequest
"""
@type t :: %__MODULE__{metadata: map | nil}
defstruct [:metadata]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[metadata: :map]
end
end