forked from loafle/openapi-generator-original
[Java] Fix APIClient basePath Configuration (#14600)
* Nullify serverIndex in java ApiClient.setBasePath Restores previous behavior broken between v6.2.1 and v6.3.0 * Regenerate samples
This commit is contained in:
@@ -160,6 +160,7 @@ public class ApiClient {
|
||||
*/
|
||||
public ApiClient setBasePath(String basePath) {
|
||||
this.basePath = basePath;
|
||||
this.serverIndex = null;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user