We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using generation library spring-cloud, code will be generated with import:
import org.springframework.cloud.netflix.feign.FeignClient;
But when one wants to use open feign with spring boot 2, we need the following:
import org.springframework.cloud.openfeign.FeignClient;
Solution: Setup property to switch between both import statements (JavaSpring library "spring-cloud)" -> "apiClient.mustache".
2.4.1
The text was updated successfully, but these errors were encountered:
Merge pull request #9120 from unmerge/issue-9118_Enable_code_generati…
5358d44
…on_for_openfeign_with_spring-boot_2 Enable code generation for OpenFeign with Spring-Boot 2 (#9118)
HugoMario
No branches or pull requests
Description
When using generation library spring-cloud, code will be generated with import:
import org.springframework.cloud.netflix.feign.FeignClient;
But when one wants to use open feign with spring boot 2, we need the following:
import org.springframework.cloud.openfeign.FeignClient;
Solution: Setup property to switch between both import statements (JavaSpring library "spring-cloud)" -> "apiClient.mustache".
Swagger-codegen version
2.4.1
Swagger declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
The text was updated successfully, but these errors were encountered: