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
Release history Release notifications | RSS feed
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.4.tar.gz
(19.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
otterapi-0.0.4-py3-none-any.whl
(17.8 kB
view details)
File details
Details for the file otterapi-0.0.4.tar.gz.
File metadata
- Download URL: otterapi-0.0.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1213d4857ebe13afd9f616cd71e327fbe9e29fe6a8ec49bbcf37f5ae17663bbe
|
|
| MD5 |
a5b7a76c93efa9c1c45cd2e4d0865e94
|
|
| BLAKE2b-256 |
6507a9930e5ee9462dd5d75f4e6b9802fa3a3147729538562c2f80e711089fd7
|
File details
Details for the file otterapi-0.0.4-py3-none-any.whl.
File metadata
- Download URL: otterapi-0.0.4-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79055b5fb1008001339013675cf7e640a76c2d3e0e0211cef4c1175bcd5c6bdb
|
|
| MD5 |
362f0d8c1d3a2f750bed765efc3f8f0f
|
|
| BLAKE2b-256 |
0cbcaecd481b2c1cfe3be3e0c277f935d8c72cb1a61fa6169b8a8daff29617c0
|