serinus_swagger 1.0.4 copy "serinus_swagger: ^1.0.4" to clipboard
serinus_swagger: ^1.0.4 copied to clipboard

discontinuedreplaced by: serinus_openapi

A Serinus plugin to generate OpenAPI documentation from your Serinus app.

90/ 160
pub points
1
downloads

We analyzed this package 19 days ago, and awarded it 90 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: serinus_swagger.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: serinus_swagger,
    • contains a version property, and,
    • does not contain a publish_to property.
Homepage URL doesn't exist.

At the time of the analysis https://serinus.app/open-api/introduction.html was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/francescovallone/serinus/tree/main/packages/serinus_swagger was unreachable. Make sure that the website is reachable via HEAD requests.

Documentation URL doesn't exist.

At the time of the analysis https://serinus.app/open-api/introduction.html was unreachable. Make sure that the website is reachable via HEAD requests.

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

174 out of 189 API elements (92.1 %) have documentation comments.

Some symbols that are missing documentation: serinus_swagger, serinus_swagger.ApiRoute.queryParameters, serinus_swagger.ComponentValue.ComponentValue.new, serinus_swagger.ComponentValue.toJson, serinus_swagger.DescriptiveObject.DescriptiveObject.new.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:serinus_swagger/serinus_swagger.dart that imports:
  • package:serinus_swagger/src/components/components.dart that imports:
  • package:serinus_swagger/src/components/parameter_object.dart that imports:
  • package:serinus_swagger/src/api_spec.dart that imports:
  • dart:io
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: The getter 'modules' isn't defined for the type 'ModulesContainer'.

lib/src/swagger_module.dart:53:47

   ╷
53 │     for (final module in app.modulesContainer.modules) {
   │                                               ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/swagger_module.dart

ERROR: Too many positional arguments: 1 expected, but 2 found.

lib/src/swagger_module.dart:185:28

    ╷
185 │         _swaggerUiModule!, app.modulesContainer.modules.last.runtimeType);
    │                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/swagger_module.dart

Failed report section
Support up-to-date dependencies
30 / 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
serinus ^1.0.0 1.0.6 2.0.4
yaml_writer ^2.0.0 2.1.0 2.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
acanthis - 1.5.1 1.5.1
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
email_validator - 3.0.0 3.0.0
encrypt - 5.0.3 5.0.3
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
js - 0.7.2 0.7.2 Discontinued
logging - 1.3.0 1.3.0
meta - 1.17.0 1.17.0
mime - 2.0.0 2.0.0
nanoid2 - 2.0.1 2.0.1
openapi_types - 2.0.1 2.0.1
path - 1.9.1 1.9.1
pointycastle - 3.9.1 4.0.0
secure_session - 1.0.5 1.0.5
shelf - 1.4.2 1.4.2
source_span - 1.10.1 1.10.1
spanner - 1.0.6 1.0.6
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
typed_data - 1.4.0 1.4.0
uuid - 4.5.2 4.5.2
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^1.0.0` on serinus does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions serinus to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.3, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
90
points
1
downloads

Publisher

verified publisherserinus.app

Weekly Downloads

A Serinus plugin to generate OpenAPI documentation from your Serinus app.

Documentation

API reference

License

MIT (license)

Dependencies

serinus, yaml_writer

More

Packages that depend on serinus_swagger