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
incompatible types: org.springframework.core.io.Resource cannot be converted to org.springframework.web.multipart.MultipartFile
As seen above, RequestMapping method uses Spring's Resource object but the delegate method expects a MultipartFile object which leads to a compiler error.
Bug Report Checklist
This is a dup of #18345 because #18345 is closed but is still present (7.11.0)
Description
Generates invalid java code:
incompatible types: org.springframework.core.io.Resource cannot be converted to org.springframework.web.multipart.MultipartFile
As seen above, RequestMapping method uses Spring's Resource object but the delegate method expects a MultipartFile object which leads to a compiler error.
openapi-generator version
7.2.0
7.7.0
7.11.0
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Related issues/PRs
#18345
#12453
Suggest a fix
The text was updated successfully, but these errors were encountered: