-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Import mapping not working for return type #14525
Labels
Comments
martin-mfg
added a commit
to martin-mfg/openapi-generator
that referenced
this issue
Apr 25, 2023
This is to investigate OpenAPITools#14525 and OpenAPITools#11506.
Hi, did you use the |
Closed
5 tasks
Hi @martin-mfg, |
5 tasks
wing328
pushed a commit
that referenced
this issue
Jun 21, 2023
fmoraespadtec
pushed a commit
to padteclab/openapi-generator
that referenced
this issue
Jun 26, 2023
…s#15719) * importContainerType = true * add unit test * disable MyImportTest * build all samples, add import exceptions * simplify code * delete myImportTest * generate docs * extend comment * remove inline comment
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report Checklist
Description
I override the type array from java.util.List to java.util.Collection. This works perfectly fine for input arguments. However, when only the return class of the interface method is a Collection the import is not added.
pom.xml
generatedResource.java
openapi-generator version
6.2.1
OpenAPI declaration file content or url
If you post the code inline, please wrap it with
Generation Details
generated with maven plugin
Steps to reproduce
generate code with yaml as input and the specified configuration
Related issues/PRs
Suggest a fix
The text was updated successfully, but these errors were encountered: