Hi, 

I have added one Authorize button in swagger-ui.
Click on Authorize it will opening a new window to enter token information.

but when I make any api request - this header part is missing from the 
request and I am not able to get the token to validate.

I made the below changes in swaggerConfig file ...

@Bean
 SecurityScheme apiKey() {
  return new ApiKey("Authorization", "Authorization", "header");  
 }
 @Bean
 SecurityConfiguration security() {
  return new SecurityConfiguration(null, null, null, null, "", 
ApiKeyVehicle.HEADER, "Authorization", ",");
 }


if any have the solution .. please reply urgently.


Thanks, 
A.K.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to