tonik 0.10.0
tonik: ^0.10.0 copied to clipboard
Pure Dart OpenAPI 3.0/3.1 code generator. Creates type-safe API client packages for Dart and Flutter with sealed classes, pattern matching, and full encoding support.
Real server examples #
Run Tonik-generated Dart clients against real servers using both Dio and HTTP. Requires Bash, Docker Compose, curl, and Dart 3.13+.
git clone https://github.com/t-unit/tonik.git
cd tonik
./examples/run.sh python_fastapi
The Dart demo fetches a typed product and uploads a file with multipart form data.
Choose a server:
See run options for selecting a backend or running all five servers.