Spring Snippets
Konsist can be used to guard the consistency of the Spring project.
1. Interfaces With Repository
Annotation Should Have Repository
Suffix
Repository
Annotation Should Have Repository
Suffix2. Classes With RestController
Annotation Should Have Controller
Suffix
RestController
Annotation Should Have Controller
Suffix3. Controllers Never Returns Collection Types
4. Classes With RestController
Annotation Should Reside In controller
Package
RestController
Annotation Should Reside In controller
Package5. Classes With RestController
Annotation Should Never Return Collection
RestController
Annotation Should Never Return CollectionLast updated