flap 0.0.2
flap: ^0.0.2 copied to clipboard
Fast, zero-dependency OpenAPI → Dart/Flutter client generator. Lowers OpenAPI 3.0, 3.1, and Swagger 2.0 specs into idiomatic Dart/Flutter clients using Freezed + json_serializable — no Java required.
We analyzed this package 9 hours ago, and awarded it 20 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting flap... Discovering libraries... ERR: dartdoc 9.0.5 (/home/worker/dartdoc/build/dartdoc) failed: fatal error: unable to locate the input directory at '/tmp/pana_ZCSYTI/lib/src'. #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:218) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:205) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:82) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:209) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:292)
0/10 points: Package has an example and has no issues with screenshots
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'package:flap/src/runner.dart'.
bin/flap.dart:3:8
╷
3 │ import 'package:flap/src/runner.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze bin/flap.dart
ERROR: The name 'FlapRunner' isn't a class.
bin/flap.dart:15:26
╷
15 │ exitCode = await const FlapRunner().run(args);
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze bin/flap.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
^3.6.0 |
3.6.1 | 4.0.9 | |
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
http |
^1.2.0 |
1.6.0 | 1.6.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.18.3 | 1.18.3 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.6.0` on archive does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions archive to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
URI_DOES_NOT_EXIST-bin/flap.dart:3:8- Target of URI doesn't exist: 'package:flap/src/runner.dart'.CREATION_WITH_NON_TYPE-bin/flap.dart:15:26- The name 'FlapRunner' isn't a class.URI_DOES_NOT_EXIST-lib/flap.dart:26:8- Target of URI doesn't exist: 'src/runner.dart'.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.13, Dart 3.12.2.
Check the analysis log for details.
