Open dayofr opened 4 years ago
Using the dart generator and publishing the generated content to pub.dev we can see some health suggestions regarding the effective dart style: https://pub.dev/packages/gitea_openapi#-analysis-tab-
It would be best to follow the dart style.
4.2.3
java -jar .\openapi-generator-cli-4.2.3.jar generate -g dart -i https://try.gitea.io/swagger.v1.json -o C:\dev\gitea2 --additional-properties pubName=gitea
run generate command above and check output in supporting files
Non found
Update templates to add curly braces for all flow control structures and don't explicitly initialize variables to null.
Could you guide me on how to update the template?
👍 Thanks for opening this issue! 🏷 I have applied any labels matching special text in your issue.
The team will review the labels and make any necessary changes.
Bug Report Checklist
Description
Using the dart generator and publishing the generated content to pub.dev we can see some health suggestions regarding the effective dart style: https://pub.dev/packages/gitea_openapi#-analysis-tab-
It would be best to follow the dart style.
openapi-generator version
4.2.3
OpenAPI declaration file content or url
Command line used for generation
java -jar .\openapi-generator-cli-4.2.3.jar generate -g dart -i https://try.gitea.io/swagger.v1.json -o C:\dev\gitea2 --additional-properties pubName=gitea
Steps to reproduce
run generate command above and check output in supporting files
Related issues/PRs
Non found
Suggest a fix
Update templates to add curly braces for all flow control structures and don't explicitly initialize variables to null.
Could you guide me on how to update the template?