PackageTrack
Sign in Get early access

openapi_generator

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

7.0.0 11K downloads/mo #2852 most downloaded on pub.dev gibahjoe/openapi-generator-dart

What this package is like to depend on

Last release 2 months ago

31 May 2026

Release timing varies

gaps range from 2 weeks to 1.5 years

Most releases are documented

notes for 33 of 42 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

48 releases · first in 2020

1 release in the last 12 months

see the full history below

Release timeline

48 releases · Mar 2020 to May 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 48
  1. 7.0.0 31 May 2026
    Release notes

    7.0.0 (2026-05-30)

    ⚠ BREAKING CHANGES

    • openapi_generator now declares analyzer as a runtime dependency with constraint >5.12.0 <9.0.0 because its public library code imports analyzer APIs.

    Features

    • generator: add cleanOutputDirectory flag (#19) (e12f1a1)

    Bug Fixes

    • add support for remote specs without extensions. Closes #176 (c08164d)
    • command: simplify argument wrapping for fvm wrapper (1f4da4a)
    • Enhance OpenAPI generator with new features and improvements (a0a2594)
    • generator: prepend 'flutter' to fvm args and use runInShell: true (#129) (99ad2a1)
    • generator: prevent AssetId crash for spec paths outside package root (0df1fc0), closes #198
    • generator: use runInShell and auto-create outputDirectory (#164) (e651c09)
    • harden generator release pipeline (5922f30)
    • Notify build_runner of dependency on inputSpec (#187) (b4c15ee)
    • Remove deprecated skipIfSpecIsUnchanged and skipSpecDepMessage (#193) (bc06852)
    • update build_test dependency version to >=2.0.0 <4.0.0 in pubspec files (5747abf)
    • update README for clarity and formatting; adjust generator arguments and caching logic (2c85976)
    • updated analyzer and source_gen dependencies (7b2b4b7), closes #192
    Open source →
    Release notes

    ⚠ BREAKING CHANGES

    • openapi_generator now declares analyzer as a runtime dependency with constraint >5.12.0 <9.0.0 because its public library code imports analyzer APIs.

    Features

    • generator: add cleanOutputDirectory flag (#19) (e12f1a1)

    Bug Fixes

    • add support for remote specs without extensions. Closes #176 (c08164d)
    • command: simplify argument wrapping for fvm wrapper (1f4da4a)
    • Enhance OpenAPI generator with new features and improvements (a0a2594)
    • generator: prepend 'flutter' to fvm args and use runInShell: true (#129) (99ad2a1)
    • generator: prevent AssetId crash for spec paths outside package root (0df1fc0), closes #198
    • generator: use runInShell and auto-create outputDirectory (#164) (e651c09)
    • harden generator release pipeline (5922f30)
    • Notify build_runner of dependency on inputSpec (#187) (b4c15ee)
    • Remove deprecated skipIfSpecIsUnchanged and skipSpecDepMessage (#193) (bc06852)
    • update build_test dependency version to >=2.0.0 <4.0.0 in pubspec files (5747abf)
    • update README for clarity and formatting; adjust generator arguments and caching logic (2c85976)
    • updated analyzer and source_gen dependencies (7b2b4b7), closes #192
    Open source →
  2. 6.1.0 15 Dec 2024
    Release notes

    6.1.0 (2024-12-15)

    Features

    • added --enum-name-mappings support (328c9da)
    Open source →
    Release notes

    Features

    • added --enum-name-mappings support (328c9da)
    Open source →
  3. 6.0.0 06 Nov 2024
    Release notes

    6.0.0 (2024-11-06)

    ⚠ BREAKING CHANGES

    • forceAlwaysRun is used to represent if the library should run everytime build_runner is executed. This is done by modifying the annotated file after build_runner completes. Previous versions of this library did not have this flag but they had the equivalent of true. However, this now defaults to false. To keep previous behavior, set this flag to true.

    Features

    • add --name-mappings param support for generator (f5c6aed)
    • added fields skipIfSpecUnchanged and forceAlwaysRun (d5555dd)
    • annotated file updating made optional by argument (c108469)
    • annotations: fixed issue with DioSerializationLibrary and updated tests (c9a179a), closes #152
    • Changing to a config based approach for obtaining the official openapi generator jar. (05d61f7)

    Bug Fixes

    • annotations: added doc for --name-mappings and moved some things around (f2d6c04), closes #114
    • dart format (af19a8e)
    • fixed ci (fe64d7a)
    • fixed failing tests (f1c0a1c)
    • fixes some tests (79c9ce7)
    • removed unsupported field (27eb1af)
    • removed unsupported field (27eb1af)
    • removed unsupported field (27eb1af)
    Open source →
    Release notes

    ⚠ BREAKING CHANGES

    • forceAlwaysRun is used to represent if the library should run everytime build_runner is executed. This is done by modifying the annotated file after build_runner completes. Previous versions of this library did not have this flag but they had the equivalent of true. However, this now defaults to false. To keep previous behavior, set this flag to true.

    Features

    • add --name-mappings param support for generator (f5c6aed)
    • added fields skipIfSpecUnchanged and forceAlwaysRun (d5555dd)
    • annotated file updating made optional by argument (c108469)
    • annotations: fixed issue with DioSerializationLibrary and updated tests (c9a179a), closes #152
    • Changing to a config based approach for obtaining the official openapi generator jar. (05d61f7)

    Bug Fixes

    • annotations: added doc for --name-mappings and moved some things around (f2d6c04), closes #114
    • dart format (af19a8e)
    • fixed ci (fe64d7a)
    • fixed failing tests (f1c0a1c)
    • fixes some tests (79c9ce7)
    • removed unsupported field (27eb1af)
    • removed unsupported field (27eb1af)
    • removed unsupported field (27eb1af)
    Open source →
  4. 5.0.2 19 Jan 2024
    Release notes

    Patched issue with clashing cached spec

    Open source →
    Release notes

    Bug Fixes

    • fixed spec diff tracking
    Open source →
  5. 5.0.0 16 Jan 2024
    Release notes

    5.0.0 (2024-01-16)

    ⚠ BREAKING CHANGES

    • cli: removed various deprecated methods and properties such as inputSpecFile

    Features

    • annotation: removed deprecated properties from annotation (51d3683)
    • cli: bumped official generator version to 7.2 (51d3683)
    • generator: moved completely to newgen (51d3683)

    Bug Fixes

    • Apply types to default empty maps (bfb0ec4)
    • Consume testing version of the source_gen branch to simplify testing. (37af696)
    • Correct most of the tests while using the newest verison of the source gen changes (4156d9a)
    • dep override (8266ab1)
    • fmt (e63c9b9)
    • generator: fixed bad deps (5d6407a)
    Open source →
    Release notes

    ⚠ BREAKING CHANGES

    • cli: removed various deprecated methods and properties such as inputSpecFile

    Features

    • annotation: removed deprecated properties from annotation (51d3683)
    • cli: bumped official generator version to 7.2 (51d3683)
    • generator: moved completely to newgen (51d3683)

    Bug Fixes

    • Apply types to default empty maps (bfb0ec4)
    • Consume testing version of the source_gen branch to simplify testing. (37af696)
    • Correct most of the tests while using the newest verison of the source gen changes (4156d9a)
    • dep override (8266ab1)
    • fmt (e63c9b9)
    • generator: fixed bad deps (5d6407a)
    Open source →
  6. 4.13.1 05 Sep 2023
    Release notes

    4.13.1 (2023-09-04)

    Bug Fixes

    • dependencies: added required dependencies to pubspec (7738439)
    • fixes useEnumExtension and other non string additional properties fields throwing error (53b711a)
    • updated logs (45af1cf)
    Open source →
    Release notes

    Bug Fixes

    • dependencies: added required dependencies to pubspec (7738439)
    • fixes useEnumExtension and other non string additional properties fields throwing error (53b711a)
    • updated logs (45af1cf)
    Open source →
  7. 4.13.0 02 Sep 2023
    Release notes

    4.13.0 (2023-09-02)

    Features

    • Add a format stage to the end of nextGen (acac104)
    • Add headers options for requests (nextGen only) (bc4a170)

    Bug Fixes

    • fix incorrect find and replace causing tests to fail (0016a03)
    • move to delegate, add tests, revert version requirement (6a32542)
    • remove duplicate run test, fix failing tests (677a318)
    • remove unused imports (4eb64c9)
    • repair the docker run command, update the type_methods to expand out the remote delegate (c00b334)
    Open source →
    Release notes

    Features

    • Add a format stage to the end of nextGen (acac104)
    • Add headers options for requests (nextGen only) (bc4a170)

    Bug Fixes

    • fix incorrect find and replace causing tests to fail (0016a03)
    • move to delegate, add tests, revert version requirement (6a32542)
    • remove duplicate run test, fix failing tests (677a318)
    • remove unused imports (4eb64c9)
    • repair the docker run command, update the type_methods to expand out the remote delegate (c00b334)
    Open source →
  8. 4.12.1 20 Aug 2023

    Nothing published for this version

  9. 4.12.0 20 Aug 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 4.11.0...4.12.0

    Open source →
    Release notes
    • Added spec diff tracking. This means you Openapi generator now tracks changes to your spec and only regenerates the code if there are changes. This is useful if you have a large spec and you want to avoid regenerating the code every time you run your build. This is enabled by default. You can read more about it here. Credits - @Nexushunter
    • Improved test coverage
    Open source →
  10. 4.11.1 31 Jul 2023
    Release notes
    • Removed log.severe that shows even though generation is successful
    • Updated documentation
    Open source →
  11. 4.11.0 18 Jul 2023
    Release notes
    • Bumped dart-ogurets (dioAlt) generator to 7.2 with changes
    • Bumped official openapi generator to 6.6.0. See change log
    • fix endpoints returning null #15433
    • Drop default value when unnecessary #15368
    Open source →
  12. 4.10.0 23 Apr 2023
    Release notes
    • Bumped dart-ogurets (dioAlt) generator to 7.1 with changes
    • Bumped official openapi generator to 6.4.0. See change log
    Open source →
  13. 4.0.0 11 Jul 2022
    Release notes
    • BREAKING CHANGES

      • dioNext (replaced with dio) and jaguar generators are removed
    • Bumped dart-ogurets (dioAlt) generator to 5.13 with changes

    • Bumped official openapi generator to 6.0.0. See change log

    Open source →
  14. 3.3.2 10 Jul 2022
    Release notes
    • Fix the enum value retrieval error
    Open source →
  15. 3.3.1 14 Jun 2022
    Release notes
    • Update the analyzer constraint
    Open source →
  16. 3.3.0 06 Nov 2021

    Nothing published for this version

  17. 3.3.0+1 06 Nov 2021
    Release notes
    • Bumped dart-ogurets (dioAlt) generator to 5.11 with changes
    • Bumped official openapi generator to 5.3/0. See change log
    Open source →
  18. 3.2.1 11 Sep 2021
    Release notes
    • Bumped dart-ogurets (dioAlt) generator to 5.9 with changes
    • Bumped official openapi generator to 5.2.1. See change log
    Open source →
  19. 3.2.0 11 Jul 2021
    Release notes
    • Bumped dart-ogurets (dioAlt) generator to 5.8 with changes
    • Bumped official openapi generator to 5.2.0. See change log
    • Added support for nullSafe for dioAlt generator
    • Added support for import mappings
    Open source →
  20. 3.2.0+1 14 Jul 2021

    Nothing published for this version

  21. 3.2.0+2 14 Jul 2021
    Release notes
    • fixed boolean additional properties returning null
    Open source →
  22. 3.1.3 16 May 2021
    Release notes
    • Bumped dart-ogurets (dioAlt) generator to 5.3 with changes
    • Bumped official openapi generator to 5.1.1. See change log
    Open source →
  23. 3.1.2 10 Apr 2021
    Release notes

    NEW DART GENERATOR:: A new dart generator has been added (dioNext). However, be careful because its xperimental and might be removed, renamed in the future or it might not even work well. You can read more about it here https://github.com/OpenAPITools/openapi-generator/pull/8869

    Open source →
  24. 3.1.1 28 Mar 2021

    Nothing published for this version

  25. 3.1.1-2 29 Mar 2021 pre-release
    Release notes
    • BREAKING CHANGES
    • Bumped dart-ogurets (dioAlt) generator to 5.0 with breaking changes
    • Bumped official openapi generator to 5.1.0. See change log
    Open source →
  26. 3.1.0 28 Mar 2021

    Nothing published for this version

  27. 3.0.2 14 Mar 2021
    Release notes
    Open source →
  28. 3.0.1 14 Mar 2021

    Nothing published for this version

  29. 3.0.0-nullsafety.1 28 Dec 2020 pre-release
    Release notes
    • Bumped generator version to 5.0.0. This has some breaking changes. Click here to view changes
    • bumped null safety
    Open source →
  30. 2.2.0 24 Jan 2021
    Release notes
    • Added support for flutter wrappers
    • Bumped dart-ogurets generator to 4.1 with breaking changes
    Open source →
  31. 2.0.0 25 Dec 2020
    Release notes
    • Bumped generator version to 5.0.0. This has some breaking changes. Click here to view changes
    Open source →
  32. 2.0.0-nullsafety.0 19 Dec 2020 pre-release
    Release notes
    • Migrated to null safety
    Open source →
  33. 1.1.4 12 Dec 2020
    Release notes
    • Updated dart_2 api to version 3.10
    • Added pubname to DioProperties
    Open source →
  34. 1.1.3 10 Oct 2020
    Release notes
    • Updated dart_2 api to latest
    • Added support for reservedWordsMapping
    Open source →
  35. 1.1.2 04 Oct 2020
    Release notes
    • Added support for skipping post run steps
    • Fixed failing post build steps in windows
    Open source →
  36. 1.1.2-beta 23 Aug 2020 pre-release

    Nothing published for this version

  37. 1.1.1 20 Aug 2020
    Release notes
    • Fixed build issue
    Open source →
  38. 1.1.0 20 Aug 2020
    Release notes
    Open source →
  39. 1.0.8 10 May 2020
    Release notes
    • fixed issue with wrong path on windows
    Open source →
  40. 1.0.7 04 Apr 2020
    Release notes
    • added support for -t (templateDirectory)
    • minor bug fix
    Open source →
  41. 1.0.6 04 Apr 2020

    Nothing published for this version

  42. 1.0.5 29 Mar 2020
    Release notes
    • Updated generator version to 4.3.0
    Open source →
  43. 1.0.0 10 Mar 2020
    Release notes
    • Updated analyzer to 0.39.4
    • removed validation from input spec
    Open source →
  44. 0.1.2 07 Mar 2020
    Release notes
    • Updated docs
    Open source →
  45. 0.1.1 07 Mar 2020

    Nothing published for this version

  46. 0.1.0 07 Mar 2020

    Nothing published for this version

  47. 0.0.2-beta 07 Mar 2020 pre-release

    Nothing published for this version

  48. 0.0.1-beta 07 Mar 2020 pre-release
    Release notes
    • Initial version.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive