mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-04 14:40:53 +00:00
update java petstore samples
This commit is contained in:
parent
1491c7037c
commit
85b936b498
@ -29,6 +29,8 @@ public class HttpBearerAuth implements Authentication {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
* 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() {
|
public String getBearerToken() {
|
||||||
return bearerToken;
|
return bearerToken;
|
||||||
@ -36,6 +38,8 @@ public class HttpBearerAuth implements Authentication {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
* 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) {
|
public void setBearerToken(String bearerToken) {
|
||||||
this.bearerToken = bearerToken;
|
this.bearerToken = bearerToken;
|
||||||
|
@ -29,6 +29,8 @@ public class HttpBearerAuth implements Authentication {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
* 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() {
|
public String getBearerToken() {
|
||||||
return bearerToken;
|
return bearerToken;
|
||||||
@ -36,6 +38,8 @@ public class HttpBearerAuth implements Authentication {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
* 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) {
|
public void setBearerToken(String bearerToken) {
|
||||||
this.bearerToken = bearerToken;
|
this.bearerToken = bearerToken;
|
||||||
|
@ -29,6 +29,8 @@ public class HttpBearerAuth implements Authentication {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
* 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() {
|
public String getBearerToken() {
|
||||||
return bearerToken;
|
return bearerToken;
|
||||||
@ -36,6 +38,8 @@ public class HttpBearerAuth implements Authentication {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
* 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) {
|
public void setBearerToken(String bearerToken) {
|
||||||
this.bearerToken = bearerToken;
|
this.bearerToken = bearerToken;
|
||||||
|
@ -29,6 +29,8 @@ public class HttpBearerAuth implements Authentication {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
* 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() {
|
public String getBearerToken() {
|
||||||
return bearerToken;
|
return bearerToken;
|
||||||
@ -36,6 +38,8 @@ public class HttpBearerAuth implements Authentication {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
* 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) {
|
public void setBearerToken(String bearerToken) {
|
||||||
this.bearerToken = bearerToken;
|
this.bearerToken = bearerToken;
|
||||||
|
@ -29,6 +29,8 @@ public class HttpBearerAuth implements Authentication {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
* 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() {
|
public String getBearerToken() {
|
||||||
return bearerToken;
|
return bearerToken;
|
||||||
@ -36,6 +38,8 @@ public class HttpBearerAuth implements Authentication {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
* 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) {
|
public void setBearerToken(String bearerToken) {
|
||||||
this.bearerToken = bearerToken;
|
this.bearerToken = bearerToken;
|
||||||
|
@ -29,6 +29,8 @@ public class HttpBearerAuth implements Authentication {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
* 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() {
|
public String getBearerToken() {
|
||||||
return bearerToken;
|
return bearerToken;
|
||||||
@ -36,6 +38,8 @@ public class HttpBearerAuth implements Authentication {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
* 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) {
|
public void setBearerToken(String bearerToken) {
|
||||||
this.bearerToken = bearerToken;
|
this.bearerToken = bearerToken;
|
||||||
|
@ -29,6 +29,8 @@ public class HttpBearerAuth implements Authentication {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
* 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() {
|
public String getBearerToken() {
|
||||||
return bearerToken;
|
return bearerToken;
|
||||||
@ -36,6 +38,8 @@ public class HttpBearerAuth implements Authentication {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
* 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) {
|
public void setBearerToken(String bearerToken) {
|
||||||
this.bearerToken = bearerToken;
|
this.bearerToken = bearerToken;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user