mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-07 20:26:11 +00:00
fix java apache-httpclient set basePath (#11277)
This commit is contained in:
@@ -228,6 +228,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
|
|||||||
*/
|
*/
|
||||||
public ApiClient setBasePath(String basePath) {
|
public ApiClient setBasePath(String basePath) {
|
||||||
this.basePath = basePath;
|
this.basePath = basePath;
|
||||||
|
this.serverIndex = null;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -193,6 +193,7 @@ public class ApiClient extends JavaTimeFormatter {
|
|||||||
*/
|
*/
|
||||||
public ApiClient setBasePath(String basePath) {
|
public ApiClient setBasePath(String basePath) {
|
||||||
this.basePath = basePath;
|
this.basePath = basePath;
|
||||||
|
this.serverIndex = null;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user