OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
[ ] [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
The generateMetadata option is not supported in CLI, Maven and Gradle plugin. Hence, there is no option to deactivate metadata output despite the flag exists.
openapi-generator version
master
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Try to set the generate metadata option, it is not available.
Related issues/PRs
13699 adds this for Maven and Gradle plugin, but not for CLI. It does so via global properties.
Suggest a fix
Like #13699 and also add support to CLI. Re #13699 it can be discussed if this should be solved via global properties or not.
I ran across this issue too. No way to disable FILES, VERSION, or .openapi-generator-ignore from getting written. Seems to only be used in tests currently.
Bug Report Checklist
Description
The generateMetadata option is not supported in CLI, Maven and Gradle plugin. Hence, there is no option to deactivate metadata output despite the flag exists.
openapi-generator version
master
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Try to set the generate metadata option, it is not available.
Related issues/PRs
13699 adds this for Maven and Gradle plugin, but not for CLI. It does so via global properties.
Suggest a fix
Like #13699 and also add support to CLI. Re #13699 it can be discussed if this should be solved via global properties or not.