Flutter Gems is a curated list of 5600+ useful Dart & Flutter packages that are categorized based on functionality.

Discord Medium LinkedIn Twitter

Top Flutter OpenAPI and Swagger packages

Last updated: April 2, 2024

OpenAPI, formerly known as Swagger, is a specification for building, documenting, and consuming APIs. It provides a standardized way to define RESTful APIs that enhances collaboration, simplifies development, and contributes to the creation of robust and user-friendly APIs.

The complete list of Dart and Flutter packages provided below provide openAPI & Swagger utilities for API client code generation for sending HTTP requests, building API client libraries that you can add in your Flutter app.


swagger_dart_code_generator
Dart 3 compatible 👍 270
Maintenance Status: Good

Have you been turned into a problem with writing code for Http requests? This package can help. It has all of the Http and model codegen functionality you have been looking for.

openapi_generator
Dart 3 compatible 👍 96
Maintenance Status: Good

Generator for openapi client sdk inspired by the npm implementation of openapi-generator-cli.

swagger_parser
Dart 3 compatible 👍 46
Maintenance Status: Good

Package that generates REST clients and data classes from OpenApi definition file

annotated_shelf
Dart 3 compatible 👍 23
Maintenance Status: Good

powerful Dart library for generating REST APIs using annotations. With a simple and intuitive interface, you can easily build APIs that are fast, efficient, and easy to use.

shelf_swagger_ui Card Image
shelf_swagger_ui
Dart 3 compatible 👍 73
Maintenance Status: Average

Present clean and professional documentation with Swagger + shelf.

openapi_freezed_dio_builder Card Image
openapi_freezed_dio_builder
Dart 3 compatible 👍 25
Maintenance Status: Average

Generate models and API classes based on an OpenAPI document using Freezed and Dio.

discoveryapis_generator
Dart 3 compatible 👍 2
Maintenance Status: Poor

Create API Client libraries based on the Discovery API Service.