Skip to main content

A cute little companion that generates type-safe clients from OpenAPI documents.

Project description

🦦 OtterAPI

A cute and intelligent OpenAPI client generator that dives deep into your OpenAPIs

OtterAPI is a sleek Python library that transforms OpenAPI specifications into clean, type-safe client code.

🚀 Quick Start

# Generate from a pyproject.toml or any of the default config names (otter.yml, otter.yaml)
otter generate

# Generate from an otterapi config file
otter generate -c otter.yml

📝 Example Config

documents:
  - source: https://petstore3.swagger.io/api/v3/openapi.json
    output: petstore_client

  - source: ./local-users-api.json
    output: users_client

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

otterapi-0.0.3.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

otterapi-0.0.3-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file otterapi-0.0.3.tar.gz.

File metadata

  • Download URL: otterapi-0.0.3.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for otterapi-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b07bd27edeebd61bfe0574611367b6e0b8e7fd8ef72d8f9523684fae5e88462a
MD5 cadfd31e5963e13e49b40c58ca7edee1
BLAKE2b-256 d2beb99f4ab88a68a0112183cb638dc26da8949b546e14587b1fa3d6776dcdda

See more details on using hashes here.

File details

Details for the file otterapi-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: otterapi-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for otterapi-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6ecad4aa0b37a8ba73bd61f6d738c6ae62588c39771a817439cb06859294ca41
MD5 d91fa625cc74dd8bb4bc296a2003bab1
BLAKE2b-256 d3adc4a7230dd7f48f91f1e10621eecbb0ef8de0cc6e2dbe73624a27d5388382

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page