flap 0.0.2 copy "flap: ^0.0.2" to clipboard
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.

20/ 160
pub points
35
downloads

We analyzed this package 9 hours ago, and awarded it 20 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
10 / 30trigger folding of the section

Failed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 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.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Failed check 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)

Failed check 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.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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.

Weekly downloads

Display as:
By versions:
2
likes
20
points
35
downloads
screenshot

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Topics

#code-generation #openapi #flutter #dart #rest-api

License

unknown (license)

Dependencies

archive, crypto, http, path

More

Packages that depend on flap