Annotation Interface Rest


@Target(TYPE) @Retention(RUNTIME) public @interface Rest
Indicates that this class will be used to automatically generate a REST API for a model, using the data source specified in the FromDataSource annotation. The generated API will include standard CRUD endpoints for the model, as well as additional endpoints for querying and filtering the data. This annotation should be used in conjunction with the FromDataSource annotation to specify the data source for the API.