3.2: try to fix automation for jsonSchemaDialect.yaml #2136
Annotations
2 errors
|
test
Process completed with exit code 1.
|
|
tests/schema/schema.test.mjs > v3.2 > Pass > json_schema_dialect.yaml:
tests/schema/schema.test.mjs#L97
AssertionError: expected { valid: false, …(1) } to deeply equal { valid: true }
- Expected
+ Received
{
- "valid": true,
+ "errors": [
+ {
+ "absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/properties/openapi/pattern",
+ "instanceLocation": "#/openapi",
+ "keyword": "https://json-schema.org/keyword/pattern",
+ },
+ {
+ "absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema-base/WORK-IN-PROGRESS#/$defs/dialect/const",
+ "instanceLocation": "#/components/schemas/WithDollarSchema/$schema",
+ "keyword": "https://json-schema.org/keyword/const",
+ },
+ {
+ "absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/$defs/components/unevaluatedProperties",
+ "instanceLocation": "#/components/schemas",
+ "keyword": "https://json-schema.org/evaluation/validate",
+ },
+ {
+ "absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/unevaluatedProperties",
+ "instanceLocation": "#/openapi",
+ "keyword": "https://json-schema.org/evaluation/validate",
+ },
+ {
+ "absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/unevaluatedProperties",
+ "instanceLocation": "#/info",
+ "keyword": "https://json-schema.org/evaluation/validate",
+ },
+ {
+ "absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/unevaluatedProperties",
+ "instanceLocation": "#/jsonSchemaDialect",
+ "keyword": "https://json-schema.org/evaluation/validate",
+ },
+ {
+ "absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/unevaluatedProperties",
+ "instanceLocation": "#/components",
+ "keyword": "https://json-schema.org/evaluation/validate",
+ },
+ {
+ "absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/unevaluatedProperties",
+ "instanceLocation": "#/paths",
+ "keyword": "https://json-schema.org/evaluation/validate",
+ },
+ {
+ "absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema-base/WORK-IN-PROGRESS#/$defs/dialect/const",
+ "instanceLocation": "#/jsonSchemaDialect",
+ "keyword": "https://json-schema.org/keyword/const",
+ },
+ ],
+ "valid": false,
}
❯ tests/schema/schema.test.mjs:97:34
|