Current section
Files
Jump to
Current section
Files
lib/schemas/audio/translation/create_response/json.ex
defmodule OpenAi.Audio.Translation.CreateResponse.Json do
@moduledoc """
Provides struct and type for a Audio.Translation.CreateResponse.Json
"""
@type t :: %__MODULE__{text: String.t()}
defstruct [:text]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[text: {:string, :generic}]
end
end