File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main/resources/Java/libraries/feign Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,10 +76,10 @@ public class ApiClient {
7676 {{#jackson} }
7777 objectMapper = createObjectMapper();
7878 feignBuilder = Feign.builder()
79- { {#feign-okhttp} }
79+ { {#feign-okhttp} }
8080 .client(new OkHttpClient())
8181 { {/feign-okhttp} }
82- { {#feign-hc5} }
82+ { {#feign-hc5} }
8383 .client(new ApacheHttp5Client())
8484 { {/feign-hc5} }
8585 .encoder(new FormEncoder(new JacksonEncoder(objectMapper)))
Original file line number Diff line number Diff line change @@ -130,9 +130,9 @@ dependencies {
130130 { {#feign-okhttp} }
131131 implementation "io.github.openfeign:feign-okhttp:$feign_version"
132132 { {/feign-okhttp} }
133- { {#feign-hc5} }
134- implementation "io.github.openfeign:feign-hc5:$feign_version"
135- { {/feign-hc5} }
133+ { {#feign-hc5} }
134+ implementation "io.github.openfeign:feign-hc5:$feign_version"
135+ { {/feign-hc5} }
136136 implementation "io.github.openfeign.form:feign-form:$feign_form_version"
137137 { {#jackson} }
138138 { {#joda} }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ lazy val root = (project in file(".")).
2121 "io.github.openfeign" % "feign-okhttp" % "13.5" % "compile",
2222{ {/feign-okhttp} }
2323{ {#feign-hc5} }
24- "io.github.openfeign" % "feign-hc5" % "13.5" % "compile",
24+ "io.github.openfeign" % "feign-hc5" % "13.5" % "compile",
2525{ {/feign-hc5} }
2626{ {#jackson} }
2727 "com.fasterxml.jackson.core" % "jackson-core" % "2.17.1" % "compile",
Original file line number Diff line number Diff line change 272272 <version >${ feign-version} </version >
273273 </dependency >
274274 { {/feign-okhttp} }
275- { {#feign-hc5} }
276- <dependency >
275+ { {#feign-hc5} }
276+ <dependency >
277277 <groupId >io.github.openfeign</groupId >
278278 <artifactId >feign-hc5</artifactId >
279279 <version >${ feign-version} </version >
280280 </dependency >
281- { {/feign-hc5} }
281+ { {/feign-hc5} }
282282
283283 { {#jackson} }
284284 <!-- JSON processing: jackson -->
You can’t perform that action at this time.
0 commit comments