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
After #362 if a story has an unevaluated property the error doesn't say which property is unevaluated.
In the following example synopsis is invalid.
prologues:
- synopsis: Create an index named `books` with mappings and settings.
path: /{index}
method: PUT
parameters:
index: books
request_body:
payload: {}
When running tests.
ERROR cat/indices.yaml (Invalid Story: data/prologues/0 must NOT have unevaluated properties)
What solution would you like?
Similar to the use of ajv_errors in the response body/schema validator.
The text was updated successfully, but these errors were encountered:
I'm not a fan of having to inject error message instructions into every schema to get the proper message with ajv_errors. It's too cumbersome and relies on our schema traversing mechanism not missing anything. So far, it's easy to pinpoint where the violation happens with ajv.errorsText except for additionalProperties and unevaludatedProperrties errors. A solution I'm thinking of:
Is your feature request related to a problem?
After #362 if a story has an unevaluated property the error doesn't say which property is unevaluated.
In the following example
synopsis
is invalid.When running tests.
What solution would you like?
Similar to the use of
ajv_errors
in the response body/schema validator.The text was updated successfully, but these errors were encountered: