Spring Boot Validation Sample
This is a very simple Spring Boot (gradle) project that is using
-
openapi-processor-spring to generate java interfaces for the api defined in an openapi.yaml file
-
openapi-processor-gradle plugin to run the processor
This samples shows how to use annotation type mapping to add a custom bean validation annotations.
Running with gradle
Clone the project from GitHub, navigate into the project root folder samples/spring-validation
and run
../../gradlew bootRun
to start the sample application.