-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] [DART] The default readme file has missing/misleading information #9186
Comments
@harsimranmaan Do you consider this solved with #9201? |
I've run into this as well... AFAICT the README examples and documentation generated are still wrong, for example it will tell me to do something like this:
while the companiesApi constructor requires two arguments. So now instead I'm looking at the tests generated that I found via looking into the changed files in #8869: |
If you are interested in providing a PR, this is the API-Doc template: https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/dart/libraries/dio/api_doc.mustache |
huh, was the dio generator's doc template already wrong before the migration to null safety? I just tried migrating from the default dart generator |
Yes it was. |
Bug Report Checklist
Description
openapi-generator version
5.1.1
Generation Details
java -jar ~/Downloads/openapi-generator-cli-5.1.0.jar generate -i trober.yaml -c config.yaml -g dart-dio-next -o trober_sdk -p pubVersion=1.1.1
Steps to reproduce
Generate a dart package with the dart-dio-next generator. Observe that the README.md has missing information for author and incorrect links to generated docs when published on pub.dev. eg: See https://pub.dev/packages/trober_sdk
Related issues/PRs
Suggest a fix
Requires fixes to the README.md template. would send a PR with fixes.
The text was updated successfully, but these errors were encountered: