tonik_generate 0.3.0
tonik_generate: ^0.3.0 copied to clipboard
A code generation package for Tonik.
tonik_generate #
Code generation engine for Tonik.
This package generates Dart code from OpenAPI specifications. It creates type-safe API clients, models, request/response classes, and serialization code based on Tonik's internal data structures.
Usage #
This is an internal package used by Tonik's code generation pipeline. You typically don't need to interact with it directly unless you're extending Tonik's functionality.
Documentation #
For complete documentation and usage examples, see the main Tonik package.
Features #
- Generates type-safe Dart models from OpenAPI schemas
- Supports oneOf, anyOf, and allOf composition
- Generates API client classes with methods for each operation
- Handles various content types and serialization formats
- Generates request and response wrapper classes
- Supports authentication schemes
License #
See LICENSE file.