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.5.tar.gz
(19.6 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.5-py3-none-any.whl
(18.2 kB
view details)
File details
Details for the file otterapi-0.0.5.tar.gz.
File metadata
- Download URL: otterapi-0.0.5.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e800a1b80ea44b30a82a68434b43745baa0ef200b00aae4518e3e494b682c81
|
|
| MD5 |
b233c74724ee44e720698b8fdfd0cc55
|
|
| BLAKE2b-256 |
5ef3a8527dbf444e8fd9fcd3a8064c83a576f76aac566b013bf04c838b5c3b78
|
File details
Details for the file otterapi-0.0.5-py3-none-any.whl.
File metadata
- Download URL: otterapi-0.0.5-py3-none-any.whl
- Upload date:
- Size: 18.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 |
7ebe99f8008b96e9b6442ddb84eba3feb13c20b6817dbb7be7ea71ddf4be9357
|
|
| MD5 |
51d786b90e5d4b603dd21e92a852c9f6
|
|
| BLAKE2b-256 |
7ca147ed775338132fd3cea99e27909ee34999010c4b1fd86df9a3c70a9019ef
|