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
Trying to validate this response with Dredd, and it says that name is required and is missing. I've validated the schema against http://json-schema-validator.herokuapp.com/ and it's all clear, leading me to suspect that it's how I've written the schema.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
API Blueprint and its parser treats all assets as opaque blocks. That is, it does not inspect or interpret anything that is inside a message-body or message-body validation schema. It is up to the tool how it handles the schema. In this case the actual behavior is driven by the Dredd implementation or more precisely Gavel.js – the tool Dredd uses to validate HTTP requests.
No problem. The important premise here is that API Blueprint does not step into assets what so ever. As tempting as it might be I want to draw a thick line here.
Does 1A support required/optional flags in schema specifications?
My specification is:
Trying to validate this response with Dredd, and it says that
name
is required and is missing. I've validated the schema against http://json-schema-validator.herokuapp.com/ and it's all clear, leading me to suspect that it's how I've written the schema.Thanks in advance.
The text was updated successfully, but these errors were encountered: