dart_openapi_generator 0.1.1
dart_openapi_generator: ^0.1.1 copied to clipboard
Native-Dart, zero-Java OpenAPI 3.x → Dart code generator. Generates idiomatic Dio-based model classes and API client services via build_runner. No JVM. No Mustache. Generated code looks hand-written.
Changelog #
All notable changes to dart_openapi_generator will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased] #
0.1.1 - 2026-06-09 #
Fixed #
hashCodegeneration: useObject.hashAllwhen a model has more than 20 fields —Object.hashaccepts at most 20 positional arguments_isGeneratedType: anonymous inline schemas (name == null) no longer treated as generated types, preventing spurious import references in generated code- Enum path parameters: serialize via
.toJson().toString()beforeUri.encodeComponentto emit the correct wire value - Parser: empty
schema: {}in request body or response content now yieldsnullinstead of a broken anonymous schema, so the generator correctly emitsFuture<void>