Skip to content

Commit c981535

Browse files
authored
Change access updateParamsForAuth to protected (#5940)
So that it can be overridden with a custom behaviour.
1 parent 140f823 commit c981535

File tree

1 file changed

+1
-1
lines changed
  • modules/openapi-generator/src/main/resources/Java/libraries/resttemplate

1 file changed

+1
-1
lines changed

modules/openapi-generator/src/main/resources/Java/libraries/resttemplate/ApiClient.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ public class ApiClient {
716716
* @param queryParams The query parameters
717717
* @param headerParams The header parameters
718718
*/
719-
private void updateParamsForAuth(String[] authNames, MultiValueMap<String, String> queryParams, HttpHeaders headerParams, MultiValueMap<String, String> cookieParams) {
719+
protected void updateParamsForAuth(String[] authNames, MultiValueMap<String, String> queryParams, HttpHeaders headerParams, MultiValueMap<String, String> cookieParams) {
720720
for (String authName : authNames) {
721721
Authentication auth = authentications.get(authName);
722722
if (auth == null) {

0 commit comments

Comments
 (0)