Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danthe1st/spring-validator
https://github.com/danthe1st/spring-validator
annotation-processor spring spring-mvc spring-web
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/danthe1st/spring-validator
- Owner: danthe1st
- License: mit
- Created: 2023-08-01T17:58:17.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-02T17:32:36.000Z (over 1 year ago)
- Last Synced: 2024-04-24T06:29:41.209Z (7 months ago)
- Topics: annotation-processor, spring, spring-mvc, spring-web
- Language: Java
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# Spring-validator
This annotation processor raises a compile-time error if multiple endpoints have the same path.
This project is not production-ready. Use with care.
### How to use
1. Clone this repository and run `mvn install`. This is necessary as this project is not deployed to a (public) Maven repository.
2. Add the following to the `` section of your `pom.xml`:
```xml
org.apache.maven.plugins
maven-compiler-plugin
io.github.danthe1st
spring-validator
0.0.1-SNAPSHOT
```
3. Make sure annotation processing is enabled in your IDE.### Limitations
This project only detects endpoints annotated with Spring's default annotations (`@GetMapping`, `@RequestMapping`, ...).