- changed status to open
library expects a definition section in swagger file
Issue #74
resolved
I have to have a definition section in the swagger file, or the test fails with
com.atlassian.oai.validator.mockmvc.SwaggerMatchers$SwaggerValidationException: Validation failed.
[ERROR] Invalid JSON Schema, cannot continue
Syntax errors:
[ {
"level" : "error",
"message" : "value has incorrect type (found null, expected one of [object])",
"domain" : "syntax",
"schema" : {
"loadingURI" : "#",
"pointer" : ""
},
"keyword" : "definitions",
"found" : "null",
"expected" : [ "object" ]
} ]
Comments (3)
-
-
-
assigned issue to
-
assigned issue to
-
- changed status to resolved
Available in v1.3.1
- Log in to comment