Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 838 Bytes

File metadata and controls

6 lines (4 loc) · 838 Bytes

OpenAPI Spec to Flutter Code Generator

This idea is to take an OpenAPI Spec file (JSON or YAML), parse it, and generate all of the models, services and state management to get a Flutter project off the ground quickly.

Ideally, the plugin would include the ability to select different options for the state management as well as for the models. For example, the models could either be generated using Freezed or using Equatable, and the state management could either generate Bloc/Cubit classes, or it could generate MobX state management.

I suppose this idea could also be extended to include other frameworks like ReactJS, SolidJS, etc.