api_gen 0.0.5 copy "api_gen: ^0.0.5" to clipboard
api_gen: ^0.0.5 copied to clipboard

A simple Dart code generator that creates model classes (with fromJson/toJson) from a JSON schema, saving time on boilerplate in Flutter/Dart projects.

Changelog #

0.0.5 #

  • added generate command to the package's CLI.
  • improved README file.

0.0.4+1 #

  • updated dart doc comments on all files

0.0.4 #

  • ✨ Added ApiGenClient for high-level programmatic usage
  • 🛡️ Comprehensive exception handling with specific exception types
  • 🔧 Enhanced input validation and error recovery
  • 📚 Multiple usage examples and comprehensive documentation
  • 🚀 Support for both legacy and standard JSON Schema formats
  • 📝 Improved CLI error messages and logging
  • 🎯 Better error handling for file operations and JSON parsing
  • 📊 Auto-detection of schema format (legacy vs standard JSON Schema)
  • 🔗 Improved nested model support with proper imports

0.0.3 #

  • v3 of api_gen
  • support for nested models
  • CLI global executable support
1
likes
160
points
274
downloads

Publisher

verified publishereverything-open.online

Weekly Downloads

A simple Dart code generator that creates model classes (with fromJson/toJson) from a JSON schema, saving time on boilerplate in Flutter/Dart projects.

Repository (GitHub)
View/report issues
Contributing

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

args

More

Packages that depend on api_gen