OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
[ ] [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
Using the dart generator creates code that does not compile due to errors in validation_error_loc_inner.dart
...
class ValidationErrorLocInner {
/// Returns a new [ValidationErrorLocInner] instance.
ValidationErrorLocInner({
});
@override
bool operator ==(Object other) => identical(this, other) || other is ValidationErrorLocInner &&
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
...
A screenshot to show highlighting of invalid syntax:
Bug Report Checklist
Description
Using the dart generator creates code that does not compile due to errors in
validation_error_loc_inner.dart
A screenshot to show highlighting of invalid syntax:
openapi-generator version
OpenAPI declaration file content or url
https://gist.github.com/Gigahawk/a2e79529adb4206fd23c86e9c28a0380
Generation Details
Steps to reproduce
Related issues/PRs
https://github.com/gibahjoe/openapi-generator-dart/issues/135
Suggest a fix