# tonik

> 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.

- **URL**: https://www.freshcrate.ai/projects/tonik
- **Author**: t-unit
- **Category**: Uncategorized
- **Latest version**: `tonik-v0.7.1` (2026-05-25)
- **License**: MIT
- **Source**: https://github.com/t-unit/tonik
- **Language**: Dart
- **GitHub**: 10 stars, 3 forks
- **Registry**: github (`t-unit/tonik`)
- **Tags**: `code-generation`, `dart`, `flutter`, `openapi`, `openapi-generator`, `openapi3`, `rest-api`, `swagger`

## Description

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.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `tonik-v0.7.1` | 2026-05-25 | High | ## What's Changed * fix: reject complex list element types in label path parameter encoding by @t-unit in https://github.com/t-unit/tonik/pull/120 * fix: immutable collections code generation fixes by @t-unit in https://github.com/t-unit/tonik/pull/121 * feat: add MapModel and Base64Model parameter encoding support by @t-unit in https://github.com/t-unit/tonik/pull/123 * fix: handle MapModel in cookie parameter encoding by @t-unit in https://github.com/t-unit/tonik/pull/124 * fix: handle An |
| `tonik-v0.7.0` | 2026-04-20 | High | ## What's Changed * feat: support for addtional properties by @t-unit in https://github.com/t-unit/tonik/pull/83 * chore(deps): bump codecov/codecov-action from 5 to 6 in the github-actions group by @dependabot[bot] in https://github.com/t-unit/tonik/pull/84 * fix: address correctness and safety issues from comprehensive audit by @t-unit in https://github.com/t-unit/tonik/pull/85 * fix: better escape strings containing ‘ or “ by @t-unit in https://github.com/t-unit/tonik/pull/86 * Better es |
| `tonik-v0.6.0` | 2026-03-17 | Low | ## What's Changed * Support for Multipart Requests by @t-unit in https://github.com/t-unit/tonik/pull/81 * Expanded integration tests by @t-unit in https://github.com/t-unit/tonik/pull/82   **Full Changelog**: https://github.com/t-unit/tonik/compare/tonik-v0.5.0...tonik-v0.6.0 |
| `tonik-v0.5.0` | 2026-02-08 | Low | ## What's Changed * Nested discriminator support (allOf) by @t-unit in https://github.com/t-unit/tonik/pull/75 * Cookies by @t-unit in https://github.com/t-unit/tonik/pull/76 * Ci speed by @t-unit in https://github.com/t-unit/tonik/pull/77 * chore(deps): bump actions/cache from 4 to 5 in the github-actions group by @dependabot[bot] in https://github.com/t-unit/tonik/pull/78 * Support read/write only by @t-unit in https://github.com/t-unit/tonik/pull/80 * chore(deps): bump big_decimal from |
| `tonik-v0.4.1` | 2026-01-25 | Low | ## What's Changed * chore(deps): bump timezone from 0.10.1 to 0.11.0 in the root-pub group by @dependabot[bot] in https://github.com/t-unit/tonik/pull/68 * Clarify test comment about contentEncoding and bidirectional conversion by @Copilot in https://github.com/t-unit/tonik/pull/70 * Better handle contentEncoding by @t-unit in https://github.com/t-unit/tonik/pull/69 * coverage by @t-unit in https://github.com/t-unit/tonik/pull/72 * Normalize allOf with single model to aliases by @t-unit in |
| `tonik-v0.4.0` | 2026-01-11 | Low | ## What's Changed * Improved OpenAPI 3.1 Support by @t-unit in https://github.com/t-unit/tonik/pull/64 * Compile cli for faster code generation by @t-unit in https://github.com/t-unit/tonik/pull/65 * feat: improved encoding detection with OAS 3.1 by @t-unit in https://github.com/t-unit/tonik/pull/66 * Server templating by @t-unit in https://github.com/t-unit/tonik/pull/67   **Full Changelog**: https://github.com/t-unit/tonik/compare/tonik-v0.3.0...tonik-v0.4.0 |
| `tonik-v0.3.0` | 2025-12-23 | Low | ## What's Changed  * Urlencoded bodies by @t-unit in https://github.com/t-unit/tonik/pull/60 * Better support for nullable schemas by @t-unit in https://github.com/t-unit/tonik/pull/62 * remove lints as dependency by @t-unit in https://github.com/t-unit/tonik/pull/63  **Full Changelog**: https://github.com/t-unit/tonik/compare/tonik-v0.2.1...tonik-v0.3.0 |
| `tonik-v0.2.1` | 2025-12-21 | Low | ## What's Changed * Fix generated tonik version by @t-unit in https://github.com/t-unit/tonik/pull/61  ## New Contributors  **Full Changelog**: https://github.com/t-unit/tonik/compare/tonik-v0.2.0...tonik-v0.2.1 |
| `tonik-v0.2.0` | 2025-12-20 | Low | ## What's Changed * Release 0.0.8 by @t-unit in https://github.com/t-unit/tonik/pull/36 * chore(deps): bump actions/checkout from 4 to 5 in the github-actions group by @dependabot[bot] in https://github.com/t-unit/tonik/pull/37 * chore(deps): bump very_good_analysis from 9.0.0 to 10.0.0 in the root-pub group by @dependabot[bot] in https://github.com/t-unit/tonik/pull/38 * Update dart by @t-unit in https://github.com/t-unit/tonik/pull/39 * Additional fields by @t-unit in https://github.com/t |
| `tonik-v0.1.0` | 2025-12-06 | Low | ## What's Changed * Release 0.0.8 by @t-unit in https://github.com/t-unit/tonik/pull/36 * chore(deps): bump actions/checkout from 4 to 5 in the github-actions group by @dependabot[bot] in https://github.com/t-unit/tonik/pull/37 * chore(deps): bump very_good_analysis from 9.0.0 to 10.0.0 in the root-pub group by @dependabot[bot] in https://github.com/t-unit/tonik/pull/38 * Update dart by @t-unit in https://github.com/t-unit/tonik/pull/39 * Additional fields by @t-unit in https://github.com/t |

## Citation

- HTML: https://www.freshcrate.ai/projects/tonik
- Markdown: https://www.freshcrate.ai/projects/tonik.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/tonik/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
