File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
test-javalin/src/main/java/org/example/myapp
test-javalin-jsonb/src/main/java/org/example/myapp/web Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
import io .avaje .http .api .Header ;
9
9
import io .avaje .http .api .Ignore ;
10
10
import io .avaje .http .api .QueryParam ;
11
- import io .avaje .http .api .Valid ;
12
11
import io .avaje .jsonb .Json ;
13
12
import io .avaje .validation .constraints .Email ;
14
13
import io .avaje .validation .constraints .Size ;
14
+ import io .avaje .validation .constraints .Valid ;
15
15
16
16
@ Json
17
17
@ Valid
Original file line number Diff line number Diff line change 19
19
import io .swagger .v3 .oas .annotations .OpenAPIDefinition ;
20
20
import io .swagger .v3 .oas .annotations .info .Info ;
21
21
22
- @ InjectModule (name = "app" , requires = Validator . class )
22
+ @ InjectModule (name = "app" )
23
23
@ OpenAPIDefinition (info = @ Info (title = "Example service" , description = "Example Javalin controllers with Java and Maven" ))
24
24
public class Main {
25
25
You can’t perform that action at this time.
0 commit comments