Current section

Files

Jump to
oapi_open_ai lib schemas upload add_part_request.ex
Raw

lib/schemas/upload/add_part_request.ex

defmodule OpenAi.Upload.AddPartRequest do
@moduledoc """
Provides struct and type for a Upload.AddPartRequest
"""
@type t :: %__MODULE__{data: String.t()}
defstruct [:data]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[data: {:string, :generic}]
end
end