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 version2.4.1
Swagger declaration file content or url Command line used for generation Steps to reproduce Related issues/PRs Suggest a fix/enhancementatritthart, codeBud7, kaweston and roman-sinyakov
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4