Skip to content

Commit abf4f12

Browse files
Fix race condition in ApiClient::invokeApi() (#1580)
1 parent 6cf92fc commit abf4f12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎api/src/main/resources/custom_templates/ApiClient.mustache‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ protected List<ServerConfiguration> servers = new ArrayList<ServerConfiguration>
10871087
* @return The response body in type of string
10881088
* @throws ApiException API exception
10891089
*/
1090-
public <T> T invokeAPI(
1090+
public synchronized <T> T invokeAPI(
10911091
String path,
10921092
String method,
10931093
List<Pair> queryParams,

0 commit comments

Comments
(0)