Skip to content
/ oapi_oai Public

Generated OpenAI API from its OpenAPI spec

License

Notifications You must be signed in to change notification settings

fmops/oapi_oai

Repository files navigation

OpenAI

Build Status Hex.pm Documentation

Client SDK for OpenAI generated from their OpenAPI specification.

Installation

If available in Hex, the package can be installed by adding oapi_oai to your list of dependencies in mix.exs:

def deps do
  [
    {:oapi_oai, "~> 0.1"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/oapi_oai.

Developing

To regenerate the API

mix api.gen default ./resources/openai-openapi/openapi.yaml

About

Generated OpenAI API from its OpenAPI spec

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages