PackageTrack
Sign in Get early access

api_generator

Generate Flutter projects, features, and design-system scaffolds from Swagger/OpenAPI and Figma.

0.9.4 92 downloads/mo #2232 most downloaded on pub.dev source

What this package is like to depend on

Last release 4 months ago

27 Mar 2026

Too new to tell

only 1 release windows

Nearly every release is documented

notes for 19 of 19 stable releases

Nothing withdrawn

no release was ever pulled

5 months old

19 releases · first in 2026

19 releases in the last 12 months

see the full history below

Release timeline

19 releases · Mar 2026 to Mar 2026
Release Pre-release

Releases

latest 19
  1. 0.9.4 27 Mar 2026
    Release notes
    • Rewrite pub.dev README so the package is easier to understand at first glance
    • Add clearer capability overview, install steps, command guide, and generated output explanation
    • Add full documentation sections in English, O'zbek, and Russian
    Open source →
  2. 0.9.3 27 Mar 2026
    Release notes
    • Fix generated api_client.g.dart compatibility by removing aliased model imports from api_client.dart
    • Keep feature-prefixed model class names so cross-feature request and response model conflicts still do not happen
    • Restore plain model type references for Retrofit code generation while preserving unique generated class names
    Open source →
  3. 0.9.2 27 Mar 2026
    Release notes
    • Prefix generated Swagger request and response model class names with their feature names
    • Fix api_client.dart model imports by aliasing feature model barrels in method signatures
    • Prevent cross-feature model conflicts such as multiple CreateRequestModel classes
    Open source →
  4. 0.9.1 27 Mar 2026
    Release notes
    • Fix generated Freezed request and response models to use abstract class ... with _$...
    • Prevent analyzer errors like missing concrete implementations on generated model getters
    • Add regression coverage for generated Swagger request and response model class shape
    Open source →
  5. 0.9.0 27 Mar 2026
    Release notes
    • Generate feature data sources as @subGen mixins with part '*.g.dart' files under domain/data_source
    • Generate DataSourceImpl classes that wrap API calls with ResponseHandler<T> and ServerError handling
    • Update generated repositories to unwrap datasource ResponseHandler<T> results safely
    • Add generated local sub_gen.dart support so datasource annotations compile without extra setup
    Open source →
  6. 0.8.0 27 Mar 2026
    Release notes
    • Generate Retrofit + Dio API clients with part 'api_client.g.dart' and interceptor wiring closer to production project style
    • Add generated AppLoggerUtils support backed by the logger package
    • Reorganize generated feature models under operation-based folders such as data/model/login/request and data/model/login/response
    • Update feature scaffolding and dependency installation to match the new Retrofit/logger output structure
    Open source →
  7. 0.7.0 27 Mar 2026
    Release notes
    • Remove the openapi-generator-cli dependency from Swagger generation flows
    • Generate custom plain dio API clients directly from the parsed OpenAPI spec
    • Generate request and response layer files as Freezed models instead of aliasing OpenAPI Generator output
    • Drop generated-project retrofit and retrofit_generator package requirements
    • Update feature scaffolding so it no longer imports core/generated/openapi/api.dart
    Open source →
  8. 0.6.2 27 Mar 2026
    Release notes
    • Replace generated local storage wiring from flutter_secure_storage to shared_preferences
    • Make start install the runtime packages required by the generated Swagger scaffold, including easy_localization, flutter_screenutil, and shared_preferences
    • Update Swagger project manual steps to point at app/di/configure_dependencies.dart and the Retrofit build_runner step
    Open source →
  9. 0.6.1 27 Mar 2026
    Release notes
    • Rework legacy Swagger generation so it scaffolds a full single-project Flutter structure under app, core, shared, features, and assets
    • Generate feature contracts in domain/data_source and domain/repository, with implementations under data/repository
    • Add app bootstrap, DI modules, router, theme files, request status helpers, and assets locale folders to the generated output
    • Keep generated API clients on a single Retrofit/Dio entry point with interceptor-based token and language headers
    Open source →
  10. 0.6.0 27 Mar 2026
    Release notes
    • Turn start into a Swagger-first clean architecture setup for existing Flutter projects
    • Generate features from Swagger tags into data, domain, and presentation folders without requiring Figma
    • Add data/datasources, request/response model folders, feature pages, and GetIt service locator generation
    • Make dependency installation smarter by adding only missing Flutter packages from pubspec.yaml
    Open source →
  11. 0.5.2 26 Mar 2026
    Release notes
    • Fix generated Figma screen widgets so button layouts include valid Dart separators
    • Fix generated dialog widget trees so build_runner no longer fails on emitted screen views
    • Extend emitter regression coverage for generated design-first widget syntax
    Open source →
  12. 0.5.1 26 Mar 2026
    Release notes
    • Parse richer Figma screen metadata including colors, typography, spacing, radius, and sizes
    • Generate design-first Flutter pages and widgets using extracted Figma values instead of placeholder-only layouts
    • Add regression tests for Figma analysis and scaffold emitter output
    Open source →
  13. 0.5.0 26 Mar 2026
    Release notes
    • Change start into a Figma-first setup flow for existing Flutter projects
    • Ask only for Figma URL in the terminal and infer a feature scaffold from the design
    • Generate design-first pages and widget views even when Swagger is not provided
    • Keep architecture selection and dependency installation in the interactive setup
    Open source →
  14. 0.4.0 26 Mar 2026
    Release notes
    • Add interactive start wizard for existing Flutter projects
    • Let users choose architecture in terminal before generation starts
    • Install common Flutter dependencies automatically with flutter pub add
    • Prompt for Swagger URL, Swagger basic auth, Figma URL, and feature name in one guided flow
    • Run design-system sync, feature generation, and optional build_runner from the same command
    Open source →
  15. 0.3.0 26 Mar 2026
    Release notes
    • Add workspace-oriented CLI flow with init, attach, doctor, scan, config, sync, add-feature, register-widget, make-widget, and import-assets
    • Add persistent .codegen.yaml config support for new and existing Flutter projects
    • Add architecture-aware workspace scaffolding for clean, ddd, feature_sliced, and mvvm modes
    • Add safe, merge, and force write strategies with reporting hooks
    • Rewrite package documentation for pub.dev with simpler UZ, RU, and EN onboarding
    Open source →
  16. 0.2.0 26 Mar 2026
    Release notes
    • Add generate-feature CLI command for Swagger + Figma driven feature scaffolding
    • Detect feature-specific Swagger endpoints and Figma screens or selected nodes
    • Generate Clean Architecture feature layers, Cubits, reusable widgets, and a Markdown generation report
    Open source →
  17. 0.1.2 25 Mar 2026
    Release notes
    • Simplify CLI usage to api_generator generate <url-or-file> [output]
    • Default generated output to ./lib when no output path is provided
    • Prompt for basic auth username and password automatically after a 401 response
    • Keep advanced auth flags available for non-interactive bearer and basic auth workflows
    Open source →
  18. 0.1.1 25 Mar 2026
    Release notes
    • Fix Swagger UI extraction when swagger-ui-init.js uses quoted swaggerDoc keys and later spec: spec1 aliases
    Open source →
  19. 0.1.0 25 Mar 2026
    Release notes
    • Initial CLI package scaffold
    • Swagger/OpenAPI source detection and extraction
    • OpenAPI Generator dart-dio integration
    • Repository generation by tags
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive