{new} Swagger UI
The {@link oaj.dto.swagger.ui.SwaggerUI} class is a DTO class for generating Swagger user interfaces from {@link oaj.dto.swagger.Swagger} beans.
The PetStore example described later provides an example of auto-generated Swagger JSON:
Using {@link oaj.dto.swagger.ui.SwaggerUI}, we're able to render that JSON as a Swagger user interface when the request is asking for HTML:
The class itself is nothing more than a POJO swap that swaps out {@link oaj.dto.swagger.Swagger} beans with {@link oaj.dto.html5.Div} elements:
The {@link oajr.BasicRestServlet} class (describe later) shows how this swap is used in the REST interface to generate the Swagger UI shown above: