From f3dbedca7ad43cdf5cc182c93830ea0d68f8176c Mon Sep 17 00:00:00 2001 From: Elliot Lee <github.public@intelliot.com> Date: Mon, 11 Mar 2019 15:12:08 -0700 Subject: [PATCH] [Java] Update Javadocs for HttpBearerAuth --- .../src/main/resources/Java/auth/HttpBearerAuth.mustache | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/openapi-generator/src/main/resources/Java/auth/HttpBearerAuth.mustache b/modules/openapi-generator/src/main/resources/Java/auth/HttpBearerAuth.mustache index fe30391d547..1d195865439 100644 --- a/modules/openapi-generator/src/main/resources/Java/auth/HttpBearerAuth.mustache +++ b/modules/openapi-generator/src/main/resources/Java/auth/HttpBearerAuth.mustache @@ -18,6 +18,8 @@ public class HttpBearerAuth implements Authentication { /** * Gets the token, which together with the scheme, will be sent as the value of the Authorization header. + * + * @return The bearer token */ public String getBearerToken() { return bearerToken; @@ -25,6 +27,8 @@ public class HttpBearerAuth implements Authentication { /** * Sets the token, which together with the scheme, will be sent as the value of the Authorization header. + * + * @param bearerToken The bearer token to send in the Authorization header */ public void setBearerToken(String bearerToken) { this.bearerToken = bearerToken; -- GitLab