private List<ApiKey> securitySchemes() {
List<ApiKey> apiKeyList= new ArrayList();
apiKeyList.add(new ApiKey("Authorization", "Authorization", "header"));
return apiKeyList;
}
the dialog box generated to add Token is as follows:
users enter "Bearer ${token}", which is troublesome. How to realize that users only need to enter ${token}, and swagger can automatically add "Bearer"
.