Bug Report Checklist
Description
Unused import of Locale. Stems from a change related to supportUrlQuery, to format strings using Locale. However, the import is most likely not needed except for this use-case.
openapi-generator version
Since Version 7.16.0.
OpenAPI declaration file content or url
ANY type: object, generating a Java class.
Generation Details
No custom configurations/configOptions.
Steps to reproduce
- Generate any pojo class.
- The class will have an unused import of
java.util.Locale.
Related issues/PRs
Caused by PR #21871.
Suggest a fix
Wrap the import in model.mustache with {{#supportUrlQuery}}.
Bug Report Checklist
Description
Unused import of
Locale. Stems from a change related tosupportUrlQuery, to format strings using Locale. However, the import is most likely not needed except for this use-case.openapi-generator version
Since Version 7.16.0.
OpenAPI declaration file content or url
ANY
type: object, generating a Javaclass.Generation Details
No custom configurations/configOptions.
Steps to reproduce
java.util.Locale.Related issues/PRs
Caused by PR #21871.
Suggest a fix
Wrap the import in
model.mustachewith{{#supportUrlQuery}}.