-
Notifications
You must be signed in to change notification settings - Fork 124
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] Code formatting failed. #613
Comments
|
After remove Error scheme from allOf. Have build error. And missing generate [INFO] Running build... UnimplementedError: (InvalidTypeImpl) InvalidType [INFO] Caching finalized dependency graph... [SEVERE] Failed after 19.0s
|
Ok I check trouble. Error appear when '"allOf"' contain more one items. |
Again I have test. And error appear when
|
@Vovanella95 could you please take a look? |
@vadimlukutin I will take a look |
@vadimlukutin Could you please share swagger file, when issue is reproduced? You can do it in private channel |
ok |
@Vovanella95 I was send to email. |
I have Open API json code. Validate on JSON on app.swaggerhub.com.
But have error:
[WARNING] swagger_dart_code_generator on assets/swaggers/organisation_api_docs.json:
[WARNING] Code formatting failed.
Please raise an issue on https://github.com/epam-cross-platform-lab/swagger-dart-code-generator/issues/
Reason: Could not format because the source could not be parsed:
line 9283, column 8 of .: Expected an identifier.
╷
9283 │ this.,
│ ^
╵
line 9296, column 8 of .: Expected to find ';'.
╷
9296 │ final InventoryProductidwriteOff? ;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
line 9296, column 34 of .: Operator declarations must be preceded by the keyword 'operator'.
╷
9296 │ final InventoryProductidwriteOff? ;
│ ^
╵
line 9296, column 34 of .: The string '?' isn't a user-definable operator.
╷
9296 │ final InventoryProductidwriteOff? ;
│ ^
╵
line 9296, column 34 of .: Methods must have an explicit list of parameters.
╷
9296 │ final InventoryProductidwriteOff? ;
│ ^
╵
line 9458, column 8 of .: Expected an identifier.
╷
9458 │ this.,
│ ^
╵
line 9471, column 8 of .: Expected to find ';'.
╷
9471 │ final InventoryidbulkProcessing? ;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
line 9471, column 33 of .: Operator declarations must be preceded by the keyword 'operator'.
╷
9471 │ final InventoryidbulkProcessing? ;
│ ^
╵
line 9471, column 33 of .: The string '?' isn't a user-definable operator.
╷
9471 │ final InventoryidbulkProcessing? ;
│ ^
╵
line 9471, column 33 of .: Methods must have an explicit list of parameters.
╷
9471 │ final InventoryidbulkProcessing? ;
│ ^
╵
(5 more errors...)
[INFO] 4.4s elapsed, 0/2 actions completed.
[INFO] 5.9s elapsed, 2/3 actions completed.
[INFO] Running build completed, took 6.4s
[INFO] Caching finalized dependency graph...
[INFO] Caching finalized dependency graph completed, took 41ms
[SEVERE] freezed on lib/src/data/repositories/api/organisation_api_docs.swagger.dart (cached):
This builder requires Dart inputs without syntax errors.
However, package:balance3d/src/data/repositories/api/organisation_api_docs.swagger.dart (or an existing part) contains the following errors.
organisation_api_docs.swagger.dart:9283:8: Expected an identifier.
organisation_api_docs.swagger.dart:9296:8: Expected to find ';'.
organisation_api_docs.swagger.dart:9296:34: Operator declarations must be preceded by the keyword 'operator'.
And 12 more...
Try fixing the errors and re-running the build.
[SEVERE] json_serializable on lib/src/data/repositories/api/root_api_docs.swagger.dart (cached):
UnimplementedError: (InvalidTypeImpl) InvalidType
[SEVERE] json_serializable on lib/src/data/repositories/api/organisation_api_docs.swagger.dart (cached):
This builder requires Dart inputs without syntax errors.
However, package:balance3d/src/data/repositories/api/organisation_api_docs.swagger.dart (or an existing part) contains the following errors.
organisation_api_docs.swagger.dart:9283:8: Expected an identifier.
organisation_api_docs.swagger.dart:9296:8: Expected to find ';'.
organisation_api_docs.swagger.dart:9296:34: Operator declarations must be preceded by the keyword 'operator'.
And 12 more...
Try fixing the errors and re-running the build.
[SEVERE] chopper_generator on lib/src/data/repositories/api/organisation_api_docs.swagger.dart (cached):
This builder requires Dart inputs without syntax errors.
However, package:balance3d/src/data/repositories/api/organisation_api_docs.swagger.dart (or an existing part) contains the following errors.
organisation_api_docs.swagger.dart:9283:8: Expected an identifier.
organisation_api_docs.swagger.dart:9296:8: Expected to find ';'.
organisation_api_docs.swagger.dart:9296:34: Operator declarations must be preceded by the keyword 'operator'.
And 12 more...
Try fixing the errors and re-running the build.
[SEVERE] Failed after 6.5s
The text was updated successfully, but these errors were encountered: