Simplest Controller
The simplest variant of CRUDController where the only data model is the entity
This variant is only recommended for very simple data models. Whenever possible, try and use one of the other variants.
This is meant to be extended from a @RestController class, ideally also with a @RequestMapping with some path prefix for the endpoints.
Parameters
Id type of the data
Entity type of the data which is a SimplestEntity
Mapper type of the data which is a SimplestMapper
Repository type of the data which is a SimplestRepository
Service type of the data which is a SimplestService
Inherited functions
Default implementation for creating a new entity from given create DTO
Default implementation for listing entities with given pagination
Default implementation for updating an entity with given id with given update DTO data