Packages

Client SDK for OpenAI generated from their [OpenAPI specification](https://github.com/openai/openai-openapi).

Current section

Files

Jump to
oai_oapi lib openai create_translation_response.ex
Raw

lib/openai/create_translation_response.ex

defmodule OpenAI.CreateTranslationResponse do
@moduledoc """
Provides struct and type for CreateTranslationResponse
"""
@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