fix "openapi" field to accept 3.3 versions #2552
Annotations
10 errors
|
tests/schema/schema.test.mjs > v3.2 > Pass > license_identifier.yaml:
tests/schema/schema.test.mjs#L41
Error: {
"valid": false,
"errors": [
{
"keyword": "https://json-schema.org/keyword/pattern",
"absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/properties/openapi/pattern",
"instanceLocation": "#/openapi"
},
{
"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": "#/components"
}
]
}
❯ tests/schema/schema.test.mjs:41:11
|
|
tests/schema/schema.test.mjs > v3.2 > Pass > json_schema_dialect.yaml:
tests/schema/schema.test.mjs#L41
Error: {
"valid": false,
"errors": [
{
"keyword": "https://json-schema.org/keyword/pattern",
"absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/properties/openapi/pattern",
"instanceLocation": "#/openapi"
},
{
"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"
}
]
}
❯ tests/schema/schema.test.mjs:41:11
|
|
tests/schema/schema.test.mjs > v3.2 > Pass > info_summary.yaml:
tests/schema/schema.test.mjs#L41
Error: {
"valid": false,
"errors": [
{
"keyword": "https://json-schema.org/keyword/pattern",
"absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/properties/openapi/pattern",
"instanceLocation": "#/openapi"
},
{
"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": "#/components"
}
]
}
❯ tests/schema/schema.test.mjs:41:11
|
|
tests/schema/schema.test.mjs > v3.2 > Pass > info-object-example.yaml:
tests/schema/schema.test.mjs#L41
Error: {
"valid": false,
"errors": [
{
"keyword": "https://json-schema.org/keyword/pattern",
"absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/properties/openapi/pattern",
"instanceLocation": "#/openapi"
},
{
"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": "#/$self"
},
{
"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": "#/externalDocs"
},
{
"keyword": "https://json-schema.org/evaluation/validate",
"absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/unevaluatedProperties",
"instanceLocation": "#/components"
}
]
}
❯ tests/schema/schema.test.mjs:41:11
|
|
tests/schema/schema.test.mjs > v3.2 > Pass > header-object-examples.yaml:
tests/schema/schema.test.mjs#L41
Error: {
"valid": false,
"errors": [
{
"keyword": "https://json-schema.org/keyword/pattern",
"absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/properties/openapi/pattern",
"instanceLocation": "#/openapi"
},
{
"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": "#/components"
}
]
}
❯ tests/schema/schema.test.mjs:41:11
|
|
tests/schema/schema.test.mjs > v3.2 > Pass > example-object-examples.yaml:
tests/schema/schema.test.mjs#L41
Error: {
"valid": false,
"errors": [
{
"keyword": "https://json-schema.org/keyword/pattern",
"absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/properties/openapi/pattern",
"instanceLocation": "#/openapi"
},
{
"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": "#/components"
}
]
}
❯ tests/schema/schema.test.mjs:41:11
|
|
tests/schema/schema.test.mjs > v3.2 > Pass > components-object-example.yaml:
tests/schema/schema.test.mjs#L41
Error: {
"valid": false,
"errors": [
{
"keyword": "https://json-schema.org/keyword/pattern",
"absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/properties/openapi/pattern",
"instanceLocation": "#/openapi"
},
{
"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": "#/components"
}
]
}
❯ tests/schema/schema.test.mjs:41:11
|
|
tests/schema/schema.test.mjs > v3.2 > Pass > comp_pathitems.yaml:
tests/schema/schema.test.mjs#L41
Error: {
"valid": false,
"errors": [
{
"keyword": "https://json-schema.org/keyword/pattern",
"absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/properties/openapi/pattern",
"instanceLocation": "#/openapi"
},
{
"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": "#/components"
}
]
}
❯ tests/schema/schema.test.mjs:41:11
|
|
tests/schema/schema.test.mjs > v3.2 > Pass > callback-object-examples.yaml:
tests/schema/schema.test.mjs#L41
Error: {
"valid": false,
"errors": [
{
"keyword": "https://json-schema.org/keyword/pattern",
"absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/properties/openapi/pattern",
"instanceLocation": "#/openapi"
},
{
"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": "#/components"
}
]
}
❯ tests/schema/schema.test.mjs:41:11
|
|
tests/schema/schema.test.mjs > v3.2 > schema.yaml schema test:
tests/schema/schema.test.mjs#L32
Error: {
"valid": false,
"errors": [
{
"keyword": "https://json-schema.org/keyword/pattern",
"absoluteKeywordLocation": "https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS#/properties/openapi/pattern",
"instanceLocation": "#/openapi"
},
{
"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": "#/components"
}
]
}
❯ tests/schema/schema.test.mjs:32:5
|