Packages

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

Current section

Files

Jump to
oai_oapi mix.exs
Raw

mix.exs

defmodule OpenAI.MixProject do
use Mix.Project
def project do
[
app: :oapi_oai,
version: "0.1.0",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
description: description()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:oapi_generator, "~> 0.0.3"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp description() do
"Client SDK for OpenAI generated from their [OpenAPI specification](https://github.com/openai/openai-openapi)."
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "oai_oapi",
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README* LICENSE*),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/fmops/oai_oapi"}
]
end
end