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 2026Releases
latest 34-
7.0.031 May 2026Release notes
Open source →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
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_runnerof 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
Release notes
Open source →Bug Fixes
- update README for clarity and formatting; adjust generator arguments and caching logic (2c85976)
-
6.1.015 Dec 2024Release notes
Open source →Release notes
Open source →Features
- added
--enum-name-mappingssupport (328c9da)
Bug Fixes
- cli: Fixed additionalCommands in config not appending to generator commands (99f6bec)
- added
-
6.0.006 Nov 2024Release notes
Open source →6.0.0 (2024-11-06)
⚠ BREAKING CHANGES
forceAlwaysRunis used to represent if the library should run everytimebuild_runneris executed. This is done by modifying the annotated file afterbuild_runnercompletes. Previous versions of this library did not have this flag but they had the equivalent oftrue. However, this now defaults tofalse. To keep previous behavior, set this flag totrue.
Features
- add --name-mappings param support for generator (f5c6aed)
- added fields
skipIfSpecUnchangedandforceAlwaysRun(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)
Release notes
Open source →⚠ BREAKING CHANGES
forceAlwaysRunis used to represent if the library should run everytimebuild_runneris executed. This is done by modifying the annotated file afterbuild_runnercompletes. Previous versions of this library did not have this flag but they had the equivalent oftrue. However, this now defaults tofalse. To keep previous behavior, set this flag totrue.
Features
- added fields
skipIfSpecUnchangedandforceAlwaysRun(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
-
5.0.219 Jan 2024 -
5.0.016 Jan 2024Release notes
Open source →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
Release notes
Open source →⚠ BREAKING CHANGES
- cli: removed various deprecated methods and properties such as inputSpecFile
Features
-
4.13.105 Sep 2023 -
4.13.002 Sep 2023Release notes
Open source →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)
-
4.12.020 Aug 2023Release notes
Open source →What's Changed
- Generate for spec changes by @Nexushunter in #96
New Contributors
- @Nexushunter made their first contribution in #96
Full Changelog: 4.11.0...4.12.0
-
4.11.018 Jul 2023Release notes
Open source →- 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
-
4.10.023 Apr 2023Release notes
Open source →- Bumped dart-ogurets (dioAlt) generator to 7.1 with changes
- Bumped official openapi generator to 6.4.0. See change log
-
4.0.014 Jun 2022Release notes
Open source →- Bumped dart-ogurets (dioAlt) generator to 5.13 with changes
- Bumped official openapi generator to 6.0.0. See change log
-
3.3.005 Nov 2021Release notes
Open source →- Bumped dart-ogurets (dioAlt) generator to 5.11 with changes
- Bumped official openapi generator to 5.3/0. See change log
-
3.2.111 Sep 2021Release notes
Open source →- Bumped dart-ogurets (dioAlt) generator to 5.9 with changes
- Bumped official openapi generator to 5.2.1. See change log
-
3.2.010 Jul 2021Release notes
Open source →- Bumped dart-ogurets (dioAlt) generator to 5.8 with changes
- Bumped official openapi generator to 5.2.0. See change log
-
3.1.315 May 2021Release notes
Open source →- Bumped dart-ogurets (dioAlt) generator to 5.3 with changes
- Bumped official openapi generator to 5.1.1. See change log
-
3.1.028 Mar 2021Release notes
Open source →- BREAKING CHANGES
- Bumped dart-ogurets (dioAlt) generator to 5.0 with breaking changes
- Bumped official openapi generator to 5.1.0. See change log
-
3.0.214 Mar 2021Release notes
Open source →- Bumped dart-ogurets generator to 4.2 with breaking changes
- Bumped official openapi generator to 5.0.1. See change log
-
3.0.114 Mar 2021Nothing published for this version
-
3.0.0-nullsafety.128 Dec 2020 pre-release -
2.2.024 Jan 2021 -
2.0.025 Dec 2020Release notes
Open source →- Bumped generator version to 5.0.0. This has some breaking changes. Click here to view changes
-
2.0.0-nullsafety.019 Dec 2020 pre-release -
1.1.412 Dec 2020 -
1.1.310 Oct 2020 -
1.1.204 Oct 2020 -
1.1.2-beta23 Aug 2020 pre-releaseNothing published for this version
-
1.1.009 Aug 2020 -
1.0.810 May 2020 -
1.0.529 Mar 2020 -
1.0.107 Mar 2020 -
1.0.007 Mar 2020 -
0.0.307 Mar 2020 -
0.0.207 Mar 2020Nothing published for this version
-
0.0.107 Mar 2020