-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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-dio] fails with Null context for variable '.' on line 29 #9319
Comments
Hmm, not sure, you can try the |
Can not reproduce the error on master with neither dart-dio or dart-dio-next. |
@vladaman Any new insights on your side? |
I am experiencing the same issue. So far, I have seen the issue within the
As well as some of the non-standard fields. I'll see if I can get a smaller example together, but in the meantime: Here is a Docker command the reproduces the issue against the Plaid Open API spec:
The only thing I am seeing so far that all of these failures have in common is a $ref entry:
|
UPDATE: In my case, the cause of this was that the referenced components had an enumeration with a null value. For example:
This issue may be caused by: #11625 |
I can generate that with the current master, the Dart code does not fully compile but the OpenAPI generator does not throw. |
This was likely fixed by the jmustache update to 1.15 - see samskivert/jmustache#96 |
Description
When using dart-dio generator I get following exception. Regular dart generator works fine. Looks like it's related to allOf block but I can't pinpoint where exactly.
OpenAPI declaration file content or url
openapi-generator version
Might be related to #8860 (comment)
The text was updated successfully, but these errors were encountered: