Ok, its generated with the swagger library.. so yes, thats the issue. There appears to be a defect in the swagger tool that generates the swagger ui. Is there a work around for this defect?
On Wednesday, April 26, 2017 at 10:16:37 PM UTC-7, Ron wrote: > > 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] <javascript:>> on behalf of Brent > <[email protected] <javascript:>> > *Reply-To: *"[email protected] <javascript:>" < > [email protected] <javascript:>> > *Date: *Wednesday, 26 April 2017 at 21:37 > *To: *Swagger <[email protected] <javascript:>> > *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] <javascript:>. > 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.
