-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3520 from jooby-project/validation
validation: cleanup
- Loading branch information
Showing
6 changed files
with
256 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
modules/jooby-avaje-validator/src/main/java/io/jooby/avaje/validator/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,25 @@ | ||
/** | ||
* Avaje Validator Module: https://jooby.io/modules/avaje-validator. | ||
* | ||
* <pre>{@code | ||
* { | ||
* install(new AvajeValidatorModule()); | ||
* | ||
* } | ||
* | ||
* public class Controller { | ||
* | ||
* @POST("/create") | ||
* public void create(@Valid Bean bean) { | ||
* } | ||
* | ||
* } | ||
* }</pre> | ||
* | ||
* <p>Supports validation of a single bean, list, array, or map. | ||
* | ||
* <p>The module also provides a built-in error handler that catches {@link | ||
* io.avaje.validation.ConstraintViolationException} and transforms it into a {@link | ||
* io.jooby.validation.ValidationResult} | ||
*/ | ||
package io.jooby.avaje.validator; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.