swagger_documentation_widget 0.0.1 copy "swagger_documentation_widget: ^0.0.1" to clipboard
swagger_documentation_widget: ^0.0.1 copied to clipboard

Platformweb

A Flutter widget for displaying Swagger/OpenAPI documentation within your app

pr-previewdocumentationlinttests

Swagger Documentation Widget #

A Flutter widget for displaying Swagger/OpenAPI documentation within your app. This widget enables the integration of interactive API documentation using Swagger UI in a Flutter application. It does not require an active endpoint, all you need is a static json file containing your openAPI specification.

Features #

  • Display Swagger/OpenAPI documentation using Swagger UI.
  • Interactive exploration of API endpoints.
  • Supports OpenAPI JSON specifications.
  • Customizable UI for documentation.

Getting Started #

To use this package, add swagger_documentation_widget as a dependency in your pubspec.yaml file.

Usage #

You can use the SwaggerDocumentationWidget in your Flutter app like so:

SwaggerDocumentationWidget(
  jsonContent: 'Your OpenAPI JSON string here',
  title: 'API Documentation',
  // Other optional parameters
)

You can view full class documentation here.

Additional Information #

For more detailed usage, examples, and customization, refer to the /lib/main.dart' example in this package. If you encounter any issues or have feature requests, please file them in the project's issue tracker. Contributions to the package are welcome!

For more information on using and creating Flutter packages, refer to the Flutter documentation on developing packages and plugins.

0
likes
120
pub points
36%
popularity

Publisher

verified publisherdhali.io

A Flutter widget for displaying Swagger/OpenAPI documentation within your app

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, flutter_html

More

Packages that depend on swagger_documentation_widget