Skip to content

Commit 085928f

Browse files
author
Bastian Wilhelm
committed
#34 extend base test for bean-validation
1 parent 7a62203 commit 085928f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/testInt/groovy/com/github/hauner/openapi/generatr/GeneratrTestBase.groovy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ abstract class GeneratrTestBase {
5656
if(mapping.exists ()) {
5757
options.typeMappings = mapping
5858
}
59+
def beanValidation = new File ("./src/testInt/resources/${source}/beanvalidation")
60+
if(beanValidation.exists ()){
61+
options.beanValidation = beanValidation
62+
}
5963

6064
when:
6165
generatr.run (options)

0 commit comments

Comments
 (0)