ory_hydra_client 2.1.1
ory_hydra_client: ^2.1.1 copied to clipboard
OpenAPI API client
We analyzed this package 23 days ago, and awarded it 55 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
No `CHANGELOG.md` found.
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
397 out of 564 API elements (70.4 %) have documentation comments.
Some symbols that are missing documentation: ory_hydra_client, ory_hydra_client.AcceptOAuth2ConsentRequest.AcceptOAuth2ConsentRequest.new, ory_hydra_client.AcceptOAuth2ConsentRequest.grantAccessTokenAudience, ory_hydra_client.AcceptOAuth2ConsentRequest.grantScope, ory_hydra_client.AcceptOAuth2ConsentRequest.handledAt.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 282 issues. Showing the first 2:
ERROR: Target of URI hasn't been generated: 'package:ory_hydra_client/src/model/accept_o_auth2_consent_request.g.dart'.
lib/src/model/accept_o_auth2_consent_request.dart:11:6
╷
11 │ part 'accept_o_auth2_consent_request.g.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/model/accept_o_auth2_consent_request.dart
ERROR: The name 'AcceptOAuth2ConsentRequestBuilder' isn't a type, so it can't be used as a type argument.
lib/src/model/accept_o_auth2_consent_request.dart:23:88
╷
23 │ abstract class AcceptOAuth2ConsentRequest implements Built<AcceptOAuth2ConsentRequest, AcceptOAuth2ConsentRequestBuilder> {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/model/accept_o_auth2_consent_request.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
built_collection |
>=5.1.1 <6.0.0 |
5.1.1 | 5.1.1 | |
built_value |
>=8.4.0 <9.0.0 |
8.12.1 | 8.12.1 | |
dio |
>=4.0.1 <5.0.0 |
4.0.6 | 5.9.0 | |
one_of |
>=1.5.0 <2.0.0 |
1.5.0 | 1.5.0 | |
one_of_serializer |
>=1.5.0 <2.0.0 |
1.5.0 | 1.5.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
matcher |
- | 0.12.18 | 0.12.18 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
quiver |
- | 3.2.2 | 3.2.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.8 | 0.7.8 | |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `>=4.0.1 <5.0.0` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio 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 267 errors:
URI_HAS_NOT_BEEN_GENERATED-lib/src/model/accept_o_auth2_consent_request.dart:11:6- Target of URI hasn't been generated: 'package:ory_hydra_client/src/model/accept_o_auth2_consent_request.g.dart'.NON_TYPE_AS_TYPE_ARGUMENT-lib/src/model/accept_o_auth2_consent_request.dart:23:88- The name 'AcceptOAuth2ConsentRequestBuilder' isn't a type, so it can't be used as a type argument.UNDEFINED_CLASS-lib/src/model/accept_o_auth2_consent_request.dart:46:52- Undefined class 'AcceptOAuth2ConsentRequestBuilder'.
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.3, Dart 3.10.4.
Check the analysis log for details.