ServiceStack/ServiceStack — pull request #804 by bpruitt-goddard (2013-08-05 13:03:49+00:00)
Title: Integrate Restrict attribute to Swagger Api

Restrict currently operates on the ServiceStack metadata page. This will extend the behavior to also properly hide the route information on the Swagger page.

It uses the same code that the metadata page uses to determine if it should show the route. Additionally, it will hide the entire base route section if none of its routes are visible.