From abf4f128a0441f90cb7efcdcf4bde1aef8703243 Mon Sep 17 00:00:00 2001 From: Arvind Krishnakumar <61501885+arvindkrishnakumar-okta@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:26:39 -0600 Subject: [PATCH] Fix race condition in ApiClient::invokeApi() (#1580) --- api/src/main/resources/custom_templates/ApiClient.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/resources/custom_templates/ApiClient.mustache b/api/src/main/resources/custom_templates/ApiClient.mustache index adbb1555717..f0318f8c6da 100644 --- a/api/src/main/resources/custom_templates/ApiClient.mustache +++ b/api/src/main/resources/custom_templates/ApiClient.mustache @@ -1087,7 +1087,7 @@ protected List servers = new ArrayList * @return The response body in type of string * @throws ApiException API exception */ - public T invokeAPI( + public synchronized T invokeAPI( String path, String method, List queryParams,