You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.AssertionError:
Expected: To be empty
but:
Response violations:
- Body does not match schema for action(GET /status) response(200) mime-type('application/json')
Content: {
"Frontend_config_filename" : "frontend.properties",
"Version" : "UNKNOWN",
"Base_API_url" : "/exampleBackend",
"Listening_IP_address" : "0.0.0.0",
"Listening_port" : 8080,
"Deployed_verticles_number" : 1,
"Worker pool size" : 1,
"Clustered" : false
}
Messages:
- Schema invalid: Unrecognized token 'object': was expecting ('true', 'false' or 'null')
at [Source: Inline schema definition; line: 1, column: 13]
Ignoring the fact that the error messages are "poorly documented" to say the least, I don't understand what is wrong in my schema, and I suspect it has something to do with the parser instead. Any idea?
The text was updated successfully, but these errors were encountered:
That's do damn sad.
What did you use to work around this then ?
I need to compare a JSON response from my API to the RAML definition (i.e. the type field in the body field) and despite this (unmaintained) project I can't seem to find one that would do what I need.
Hello, I am using raml-tester 0.9.1 to unit-test my API backend. This is the raml document:
However, when I run the test:
It fails with this output:
Ignoring the fact that the error messages are "poorly documented" to say the least, I don't understand what is wrong in my schema, and I suspect it has something to do with the parser instead. Any idea?
The text was updated successfully, but these errors were encountered: