Hi,

I have a Spring REST controller which requires a set of custom headers 
needed as a pre-authorization headers (using Spring Boot 1.3.4 and Swagger 
2). These headers I am using to pre-authenticate a user using Spring 
security. Is there a way to specify these headers as part of 
@ApiOperation's @Authorization values? And if it can be specified using 
these annotations is it read by Swagger UI and show as input field when 
submitting requests from web UI? I read the documentation  but it seems the 
structure is very specific to OAth.
Currently, I used @ApiImplicitParam to specify these headers but would 
prefer for Swagger UI to show the headers as Authentication parameters in 
Swagger UI rather than as headers.

Regards,
- S

-- 
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