lib/openai/create_transcription_response.ex

defmodule OpenAI.CreateTranscriptionResponse do
  @moduledoc """
  Provides struct and type for CreateTranscriptionResponse
  """

  @type t :: %__MODULE__{text: String.t()}

  defstruct [:text]

  @doc false
  @spec __fields__(atom) :: keyword
  def __fields__(type \\ :t)

  def __fields__(:t) do
    [text: :string]
  end
end