A Flutter project to demonstrate API code generation with Swagger Codegen. This also the demo project for this article on Medium.
- Get project dependencies with the following command:
pub packages get
or
flutter pub packages get
- Generate the API code with the following command:
pub run build_runner build
or
flutter pub run build_runner build
swagger_codegen_demo.mp4
- Done!