PackageTrack
Sign in Get early access

openapi_generator_cli

A dart wrapper around openapi-generator inspired by the node implementation.

7.0.0 17K downloads/mo #2377 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

Nearly every release is documented

notes for 29 of 31 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

34 releases · first in 2020

1 release in the last 12 months

see the full history below

Release timeline

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

Releases

latest 34
  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

    Bug Fixes

    • update README for clarity and formatting; adjust generator arguments and caching logic (2c85976)
    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)

    Bug Fixes

    • cli: Fixed additionalCommands in config not appending to generator commands (99f6bec)
    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

    • added fields skipIfSpecUnchanged and forceAlwaysRun (d5555dd)
    • Changing to a config based approach for obtaining the official openapi generator jar. (05d61f7)
    • cli: bumped official generator version to 7.7 (d8b9de1)
    • cli: bumped unofficial generator version to 8.1 (2fdd022)
    • cli: removed jar binary from library and made the jar downloadable by auto generated config (8131e8e), closes #153
    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)
    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

    • Trigger version bump for CLI (996f328)
    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

    • Bumped versions to match (506689c)
    Open source →
  8. 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
    • Bumped version to match annotations and core.
    Open source →
  9. 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 →
  10. 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 →
  11. 4.0.0 14 Jun 2022
    Release notes
    • Bumped dart-ogurets (dioAlt) generator to 5.13 with changes
    • Bumped official openapi generator to 6.0.0. See change log
    Open source →
  12. 3.3.0 05 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 →
  13. 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 →
  14. 3.2.0 10 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
    Open source →
  15. 3.1.3 15 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 →
  16. 3.1.0 28 Mar 2021
    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 →
  17. 3.0.2 14 Mar 2021
    Release notes
    Open source →
  18. 3.0.1 14 Mar 2021

    Nothing published for this version

  19. 3.0.0-nullsafety.1 28 Dec 2020 pre-release
    Release notes
    • Bumped null safety version
    Open source →
  20. 2.2.0 24 Jan 2021
    Release notes
    Open source →
  21. 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 →
  22. 2.0.0-nullsafety.0 19 Dec 2020 pre-release
    Release notes
    • Added null safety
    Open source →
  23. 1.1.4 12 Dec 2020
    Release notes
    • Updated dart_2 api to version 3.10
    Open source →
  24. 1.1.3 10 Oct 2020
    Release notes
    • Updated dart_2 api to latest
    • Added support for reservedWordsMapping
    Open source →
  25. 1.1.2 04 Oct 2020
    Release notes
    • Updated Dart2-api support
    Open source →
  26. 1.1.2-beta 23 Aug 2020 pre-release

    Nothing published for this version

  27. 1.1.0 09 Aug 2020
    Release notes
    Open source →
  28. 1.0.8 10 May 2020
    Release notes
    Open source →
  29. 1.0.5 29 Mar 2020
    Release notes
    • Updated openapi to 4.3.0
    Open source →
  30. 1.0.1 07 Mar 2020
    Release notes
    • Updated docs
    Open source →
  31. 1.0.0 07 Mar 2020
    Release notes
    • Updated readme
    Open source →
  32. 0.0.3 07 Mar 2020
    Release notes
    • Support for inclusion of JAVA arguments
    Open source →
  33. 0.0.2 07 Mar 2020

    Nothing published for this version

  34. 0.0.1 07 Mar 2020
    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