NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev, #1213 most downloaded on pub.dev
Generate Dart models and HTTP clients from Swagger and OpenAPI. Supports Retrofit, Dio, and package:http.
Latest stable
2.0.1
Last release 8 days ago
10 Nov 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
155 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Fixes classes as body parameters (#61).
Fixes generation of default enum values (#58).
Fixes generation of default enum values in client (#56).
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fixes parsing of Body in Swagger 2.0 (#53).
Fixes error with default value in json_serializable generation.
json_serializable generation.Fixes error with application/x-www-form-urlencoded (#45).
application/x-www-form-urlencoded
(#45).Fixes error with nullable in array (#43).
nullable in array
(#43).Add support for description annotation
description annotationroot_interface option to generate root interface for all Clientsnullabledescription annotation.root_interface to generate a root interface for all clients.nullable.Adds root_interface option to web interface.
root_interface option to web interface.Uses ref to identify a client method's return type when type is also present.
ref to identify a client method's return type when type is also present.Generates defaultValue in the Dart class constructor.
defaultValue in the Dart class constructor.client_postfix.Fixes error with servers in requests (#32).
servers in requests
(#32).operationId for method names when the field exists.Fixes error with enum values not parsed in object properties.
enum values not parsed in object properties.nullable types.Uses JsonEnum and JsonValue on generated enum.
JsonEnum and JsonValue on generated enum.Defines single-reference sibling elements as typedefs instead of generating unnecessary classes.
Null type with empty type in schema.Adds DateTime format support (#16).
DateTime format support
(#16).Downgrades the lower bound of dependencies to support Flutter 3.0.
Fixes error with import for File type.
File type.additionalProperties annotations.Removes implicit_dynamic field for analyzer.
implicit_dynamic field for analyzer.Fixes error with return type in rest client.
* Updates documentation.
Fixes multipart file types in Retrofit.
BREAKING CHANGE: Renames json_path to schema_path. Update this key in pubspec.yaml.
yaml files.json_path to schema_path.
Update this key in pubspec.yaml.Fixes default values in the Freezed template.
Recognizes objects and generates them as DTOs.
defaultValue handling.Fixes parameter names that conflict with Dart keywords.
Adds support for default annotations.
default annotations.Fixes error with @ in URL paths.
@ in URL paths.number to double.object to Dart Object.Adds support for required annotations.
required annotations.Fixes error with . and , in URL paths.
. and , in URL paths.Fixes multipart requests with a single $ref.
$ref.Removes the swagger_parser section from the package pubspec.yaml.
swagger_parser section from the package pubspec.yaml.* Fixes README. * Fixes workflow files.
Fixes errors with generation of data classes containing allOf.
allOf.* Marks the initial release.
One column per quarter.