openapi_spec_plus 0.5.0
openapi_spec_plus: ^0.5.0 copied to clipboard
A Dart library for parsing and working with OpenAPI Specifications (v2.0, v3.0, and v3.1).
We analyzed this package 15 hours ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/quick-start-dev/openapi_spec was unreachable. Make sure that the website is reachable via HEAD requests.
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
577 out of 663 API elements (87.0 %) have documentation comments.
Some symbols that are missing documentation: callback, callback, components, components, contact.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: A type annotation is needed because it isn't obvious.
lib/v20/parameter.g.dart:52:1
╷
52 │ ┌ const _$ParameterLocationEnumMap = {
53 │ │ ParameterLocation.query: 'query',
54 │ │ ParameterLocation.header: 'header',
55 │ │ ParameterLocation.path: 'path',
56 │ │ ParameterLocation.cookie: 'cookie',
57 │ │ ParameterLocation.body: 'body',
58 │ │ ParameterLocation.formData: 'formData',
59 │ │ };
│ └─^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/v20/parameter.g.dart
INFO: A type annotation is needed because it isn't obvious.
lib/v20/security.g.dart:39:1
╷
39 │ ┌ const _$ParameterLocationEnumMap = {
40 │ │ ParameterLocation.query: 'query',
41 │ │ ParameterLocation.header: 'header',
42 │ │ ParameterLocation.path: 'path',
43 │ │ ParameterLocation.cookie: 'cookie',
44 │ │ ParameterLocation.body: 'body',
45 │ │ ParameterLocation.formData: 'formData',
46 │ │ };
│ └─^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/v20/security.g.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.19.1 |
1.19.1 | 1.19.1 | |
freezed_annotation |
^3.1.0 |
3.1.0 | 3.1.0 | |
json_annotation |
^4.9.0 |
4.12.0 | 4.12.0 | |
meta |
^1.17.0 |
1.19.0 | 1.19.0 | |
yaml |
^3.1.3 |
3.1.4 | 3.1.4 | |
yaml_writer |
^2.1.0 |
2.1.0 | 2.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
path |
- | 1.9.1 | 1.9.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.19, Dart 3.13.4.
Check the analysis log for details.