You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
An import import org.openapitools.jackson.nullable.JsonNullable; is being added to DTOs despite they're never used.
It's solvable by adding <openApiNullable>false</openApiNullable> config property but I believe the import shouldn't be there if it's unused.
Bug Report Checklist
Description
An import
import org.openapitools.jackson.nullable.JsonNullable;
is being added to DTOs despite they're never used.It's solvable by adding
<openApiNullable>false</openApiNullable>
config property but I believe the import shouldn't be there if it's unused.openapi-generator version
7.0.1. Might be a regression of #2901
OpenAPI declaration file content or url
https://gist.github.com/Haarolean/8a9b07f74544c7e45d553ff33798ed8c (swagger petstore)
Generation Details
maven,
Steps to reproduce
Related issues/PRs
#2901
Suggest a fix
The text was updated successfully, but these errors were encountered: