dart_swagger_to_api_client 1.1.1 copy "dart_swagger_to_api_client: ^1.1.1" to clipboard
dart_swagger_to_api_client: ^1.1.1 copied to clipboard

Generate type-safe HTTP API clients from OpenAPI/Swagger specs for Dart and Flutter.

70/ 160
pub points
31
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

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

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

159 out of 212 API elements (75.0 %) have documentation comments.

Some symbols that are missing documentation: dart_swagger_to_api_client, dart_swagger_to_api_client.ApiAuthException.ApiAuthException.new, dart_swagger_to_api_client.ApiClientConfig.ApiClientConfig.new, dart_swagger_to_api_client.ApiClientException.ApiClientException.new, dart_swagger_to_api_client.ApiClientGenerator.ApiClientGenerator.new.

Passed check 10/10 points: Package has an example and has no issues with screenshots

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

ERROR: The property 'path' can't be unconditionally accessed because the receiver can be 'null'.

bin/dart_swagger_to_api_client.dart:261:59

    ╷
261 │           fileConfig = await ConfigLoader.load(configFile.path);
    │                                                           ^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/dart_swagger_to_api_client.dart

ERROR: The property 'path' can't be unconditionally accessed because the receiver can be 'null'.

bin/dart_swagger_to_api_client.dart:295:63

    ╷
295 │             stdout.writeln('Config reloaded from ${configFile.path}');
    │                                                               ^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/dart_swagger_to_api_client.dart

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

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
args ^2.7.0 2.7.0 2.7.0
crypto ^3.0.3 3.0.7 3.0.7
dio ^5.4.0 5.11.1 5.11.1
http ^1.6.0 1.6.0 1.6.0
meta ^1.14.0 1.19.0 1.19.0
path ^1.9.1 1.9.1 1.9.1
yaml ^3.1.3 3.1.4 3.1.4
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.2.2 2.2.2
http_parser - 4.1.2 4.1.2
mime - 2.1.0 2.1.0
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.

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 2 errors:

  • UNCHECKED_USE_OF_NULLABLE_VALUE - bin/dart_swagger_to_api_client.dart:261:59 - The property 'path' can't be unconditionally accessed because the receiver can be 'null'.
  • UNCHECKED_USE_OF_NULLABLE_VALUE - bin/dart_swagger_to_api_client.dart:295:63 - The property 'path' can't be unconditionally accessed because the receiver can be 'null'.

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.19, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
70
points
31
downloads
screenshot

Documentation

API reference

Publisher

verified publishergoodwin.website

Weekly Downloads

Generate type-safe HTTP API clients from OpenAPI/Swagger specs for Dart and Flutter.

Repository (GitHub)
View/report issues

Topics

#openapi #swagger #code-generator #codegen #http-client

License

MIT (license)

Dependencies

args, crypto, dio, http, meta, path, yaml

More

Packages that depend on dart_swagger_to_api_client