diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/resttemplate/auth/OAuth.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/resttemplate/auth/OAuth.mustache index 1e8204285c2b..1b7ad33a33f4 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/resttemplate/auth/OAuth.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/resttemplate/auth/OAuth.mustache @@ -26,7 +26,7 @@ public class OAuth implements Authentication { /** * Sets the bearer access token used for Authorization. * - * @param bearerToken The bearer token to send in the Authorization header + * @param accessToken The bearer token to send in the Authorization header */ public void setAccessToken(String accessToken) { setAccessToken(() -> accessToken); diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/OAuth.java index f717b4ffcbb1..441ff9b3a243 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/OAuth.java @@ -37,7 +37,7 @@ public String getAccessToken() { /** * Sets the bearer access token used for Authorization. * - * @param bearerToken The bearer token to send in the Authorization header + * @param accessToken The bearer token to send in the Authorization header */ public void setAccessToken(String accessToken) { setAccessToken(() -> accessToken); diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/OAuth.java index 642d128f7b34..d67255faaee0 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/OAuth.java @@ -37,7 +37,7 @@ public String getAccessToken() { /** * Sets the bearer access token used for Authorization. * - * @param bearerToken The bearer token to send in the Authorization header + * @param accessToken The bearer token to send in the Authorization header */ public void setAccessToken(String accessToken) { setAccessToken(() -> accessToken); diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java index 642d128f7b34..d67255faaee0 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java @@ -37,7 +37,7 @@ public String getAccessToken() { /** * Sets the bearer access token used for Authorization. * - * @param bearerToken The bearer token to send in the Authorization header + * @param accessToken The bearer token to send in the Authorization header */ public void setAccessToken(String accessToken) { setAccessToken(() -> accessToken); diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/OAuth.java index 66a4c403d5cf..572acb65337e 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/OAuth.java @@ -37,7 +37,7 @@ public String getAccessToken() { /** * Sets the bearer access token used for Authorization. * - * @param bearerToken The bearer token to send in the Authorization header + * @param accessToken The bearer token to send in the Authorization header */ public void setAccessToken(String accessToken) { setAccessToken(() -> accessToken); diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/OAuth.java index 66a4c403d5cf..572acb65337e 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/OAuth.java @@ -37,7 +37,7 @@ public String getAccessToken() { /** * Sets the bearer access token used for Authorization. * - * @param bearerToken The bearer token to send in the Authorization header + * @param accessToken The bearer token to send in the Authorization header */ public void setAccessToken(String accessToken) { setAccessToken(() -> accessToken);