From 1491c7037c2e802dadca2bb618fbdeab490326bd Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Mon, 11 Mar 2019 18:27:47 -0700 Subject: [PATCH] [Java] Update Javadocs for HttpBearerAuth (#2364) --- .../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;