{8.1.0-updated} BasicRestServlet
Any subclass of {@link oajr.BasicRestServlet} gets an auto-generated Swagger UI when performing an
The underlying mechanics are simple. The {@link oajr.BasicRestServlet#getOptions(RestRequest)} method returns a {@link oaj.dto.swagger.Swagger} bean consisting of information gathered from annotations and other sources. Then that bean is swapped for a {@link oaj.dto.swagger.ui.SwaggerUI} bean when rendered as HTML.
Here's the class that defines the behavior:
Note that to have your resource create Swagger UI, you must either extend from {@link oajr.BasicRestServlet} or provide
your own