Skip to content

2.0.0

Choose a tag to compare

@Carapacik Carapacik released this 10 Nov 09:11
· 5 commits to main since this release
  • Rebuilds parsing in swagger_parser_core for Swagger 2.0 and OpenAPI 3.0–3.2.
  • Adds plain Dart JSON codecs alongside json_serializable, Freezed, and dart_mappable.
  • Adds standalone Dio and package:http clients alongside Retrofit + Dio.
  • Adds typed status results, JSON Lines, and streaming downloads. Retains SSE.
  • Adds request/response models, custom type codecs, and optional DTO validation.
  • Rebuilds Pages with JSON/YAML file input, config editing, templates, and ZIP output.
  • BREAKING CHANGES:
    • Requires Dart ^3.13.0. Update the Dart SDK before upgrading.
    • Replaces v1 configuration. Migrate settings with the
      configuration reference.
    • Moves custom templates and helper files to swagger_parser_templates.
      Use its package and CLI for custom output.
    • Removes Kotlin generation. Use a generator with a Kotlin backend for Kotlin output.
    • Removes single-file output. Import the generated API entry point to access models and clients.
    • Removes DTO output without serialization. Use custom templates for that output.