vacuum
vacuum copied to clipboard
Example is not validated against the schema
vacuum is not able to detect that the sample provided does not respect the schema ( given the schema is not perfect)
here the issue is that the oneOf is wrong , as not discriminant enought
when leveraging a json schema validator the sample is set as invalid I would expect that vacuum validate each sample toward the schema (at object or endpoint level)
given this API specification sample.json
i would expect that the example is validated against the schema , and so here that there would be a warning , or even an error mentionning that the sample is wrong , please correct sample our double check your schema defintiion