If something ends up missing in the UI, it ends up being missing from the 
generated spec. The issue is not with swagger ui but with whichever library 
that generates it.

 

 

 

From: <[email protected]> on behalf of Brent 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Wednesday, 26 April 2017 at 21:37
To: Swagger <[email protected]>
Subject: Swagger UI Missing API Documentation for Spring controllers with 
@PreAuthorize defined..

 

So, im not sure if this is a bug or im doing something wrong, but if I put 
@PreAuthorize(...) on a single method in a controller (say POST) not only will 
that method no longer show up in the API Documentation, but ALL the methods in 
that controller no longer show up. 

 

Is this a known issue?  is there a way around this?

 

-Brent

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


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