swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
Generated code for Spring is using wrong class path for DeferredResult. Currently, it is used org.springframework.web.context.request.DeferredResult, when actual class path is org.springframework.web.context.request.async.DeferredResult. See here.
Fix should be simple, I will provide PR soon.
Swagger-codegen version
2.2.3. This bug is present since corresponding feature is introduced.
Swagger declaration file content or url
Command line used for generation
I am using swagger-codegen-maven-plugin. Here is the configuration
Description
Generated code for Spring is using wrong class path for DeferredResult. Currently, it is used
org.springframework.web.context.request.DeferredResult
, when actual class path isorg.springframework.web.context.request.async.DeferredResult
. See here.Fix should be simple, I will provide PR soon.
Swagger-codegen version
2.2.3. This bug is present since corresponding feature is introduced.
Swagger declaration file content or url
Command line used for generation
I am using swagger-codegen-maven-plugin. Here is the configuration
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
I will provide PR.