UNPKG

openapi-examples-validator

Version:
47 lines (46 loc) 1.58 kB
[ { "type": "Validation", "message": "must have required property 'age'", "instancePath": "", "schemaPath": "#/oneOf/0/allOf/1/required", "keyword": "required", "params": { "missingProperty": "age" }, "examplePath": "/paths/~1pets~1{petId}/get/responses/200/content/application~1json/examples/Cat example/value" }, { "type": "Validation", "message": "must have required property 'bark'", "instancePath": "", "schemaPath": "#/oneOf/1/allOf/1/required", "keyword": "required", "params": { "missingProperty": "bark" }, "examplePath": "/paths/~1pets~1{petId}/get/responses/200/content/application~1json/examples/Cat example/value" }, { "type": "Validation", "message": "must have required property 'breed'", "instancePath": "", "schemaPath": "#/oneOf/1/allOf/1/required", "keyword": "required", "params": { "missingProperty": "breed" }, "examplePath": "/paths/~1pets~1{petId}/get/responses/200/content/application~1json/examples/Cat example/value" }, { "type": "Validation", "message": "must match exactly one schema in oneOf", "instancePath": "", "schemaPath": "#/oneOf", "keyword": "oneOf", "params": { "passingSchemas": null }, "examplePath": "/paths/~1pets~1{petId}/get/responses/200/content/application~1json/examples/Cat example/value" } ]