- Download and compile swagger-codegen;
- Delete the
lib
anddocs
directories; - Run the codegen tool with the config at
data/swagger-codegen.config.json
and the API file atdata/openapi-2.json
.
Note that the stable version of swagger-codegen won't work as it does not yet contain necessary changes to the Dart bindings generator.