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.3.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
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b07bd27edeebd61bfe0574611367b6e0b8e7fd8ef72d8f9523684fae5e88462a
|
|
| MD5 |
cadfd31e5963e13e49b40c58ca7edee1
|
|
| BLAKE2b-256 |
d2beb99f4ab88a68a0112183cb638dc26da8949b546e14587b1fa3d6776dcdda
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ecad4aa0b37a8ba73bd61f6d738c6ae62588c39771a817439cb06859294ca41
|
|
| MD5 |
d91fa625cc74dd8bb4bc296a2003bab1
|
|
| BLAKE2b-256 |
d3adc4a7230dd7f48f91f1e10621eecbb0ef8de0cc6e2dbe73624a27d5388382
|