Skip to content

Commit

Permalink
Fix race condition in ApiClient::invokeApi() (#1580)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvindkrishnakumar-okta authored Nov 21, 2024
1 parent 6cf92fc commit abf4f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/main/resources/custom_templates/ApiClient.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ protected List<ServerConfiguration> servers = new ArrayList<ServerConfiguration>
* @return The response body in type of string
* @throws ApiException API exception
*/
public <T> T invokeAPI(
public synchronized <T> T invokeAPI(
String path,
String method,
List<Pair> queryParams,
Expand Down

0 comments on commit abf4f12

Please sign in to comment.