openapi_flutter_gen 0.2.10
openapi_flutter_gen: ^0.2.10 copied to clipboard
Zero build_runner OpenAPI-to-Dart code generator. Produces immutable models, sealed exhaustive responses, typed auth interceptors, pagination, and Isolate-based deserialization.
We analyzed this package 47 hours ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: AGPL-3.0.
10/10 points: 20% or more of the public API has dartdoc comments
41 out of 175 API elements (23.4 %) have documentation comments.
Some symbols that are missing documentation: openapi_flutter_gen.CodeGenerator.CodeGenerator.new, openapi_flutter_gen.CodeGenerator.doc, openapi_flutter_gen.CodeGenerator.generate, openapi_flutter_gen.CodeGenerator.outputDir, openapi_flutter_gen.CodeGenerator.packageName.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:openapi_flutter_gen/openapi_flutter_gen.dartthat imports:package:openapi_flutter_gen/src/generator/generator.dartthat imports:dart:isolate
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/src/generator/dart/model_generator.dart:258:9
╷
258 │ rawType = rawType.substring(0, rawType.length - 1);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/generator/dart/model_generator.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/generator/dart/support_generator.dart:94:7
╷
94 │ ┌ return GeneratedFile(
95 │ │ path: 'lib/src/core/auth.dart',
96 │ └ content: '// No security schemes defined\n');
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/generator/dart/support_generator.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
^2.5.0 |
2.7.0 | 2.7.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
yaml |
^3.1.0 |
3.1.3 | 3.1.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.13, Dart 3.12.2.
Check the analysis log for details.