api_generator 0.5.2 copy "api_generator: ^0.5.2" to clipboard
api_generator: ^0.5.2 copied to clipboard

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

Changelog #

0.5.2 #

  • 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

0.5.1 #

  • 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

0.5.0 #

  • 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

0.4.0 #

  • 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

0.3.0 #

  • 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.flutter-io.cn with simpler UZ, RU, and EN onboarding

0.2.0 #

  • 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

0.1.2 #

  • 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

0.1.1 #

  • Fix Swagger UI extraction when swagger-ui-init.js uses quoted swaggerDoc keys and later spec: spec1 aliases

0.1.0 #

  • Initial CLI package scaffold
  • Swagger/OpenAPI source detection and extraction
  • OpenAPI Generator dart-dio integration
  • Repository generation by tags
1
likes
0
points
107
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitLab)
View/report issues

Topics

#openapi #swagger #figma #codegen #flutter

License

unknown (license)

Dependencies

args, path, yaml

More

Packages that depend on api_generator