RestInfoProvider

The {@link oajr.RestInfoProvider} class is used to find the title and description for your resource and also generate the Swagger documentation. It can be overridden to provide your own custom Swagger documentation.

The methods on this interface are:

The info provider in turn supplies the information returned by the following methods:

Info providers are registered through the following property:

While you can implement this interface from scratch, you may want to instead consider extending from the BasicRestInfoProvider class described next.