Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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`, ...).