tonik 0.10.0 copy "tonik: ^0.10.0" to clipboard
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.

example/README.md

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.

8
likes
160
points
1.33k
downloads

Documentation

API reference

Publisher

verified publisherottenweller.net

Weekly Downloads

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.

Repository (GitHub)
View/report issues
Contributing

Topics

#openapi #codegen #swagger #rest #api-client

License

MIT (license)

Dependencies

args, collection, logging, meta, tonik_core, tonik_generate, tonik_parse, yaml

More

Packages that depend on tonik