diff --git a/go.work b/go.work index fd75dc0..b115ffd 100644 --- a/go.work +++ b/go.work @@ -3,4 +3,5 @@ go 1.24.3 use ( . ./cmd/openapi + ./jsonschema/oas3/tests ) diff --git a/jsonschema/oas3/tests/testsuite b/jsonschema/oas3/tests/testsuite index 677a939..d69537a 160000 --- a/jsonschema/oas3/tests/testsuite +++ b/jsonschema/oas3/tests/testsuite @@ -1 +1 @@ -Subproject commit 677a9399e0dc770abeb4cb2e9922dc71f45730d1 +Subproject commit d69537acea93fd7481ad80ff3015d88ab0b13d5a diff --git a/jsonschema/oas3/tests/testsuite_test.go b/jsonschema/oas3/tests/testsuite_test.go index 8fc21e0..3039f4e 100644 --- a/jsonschema/oas3/tests/testsuite_test.go +++ b/jsonschema/oas3/tests/testsuite_test.go @@ -71,14 +71,15 @@ var blacklistedTestCases = map[string]string{ "ref.json:17": "requires complex $id resolution chain", "ref.json:18": "requires $id evaluation before $ref", "ref.json:19": "requires $id and $anchor evaluation before $ref", - "ref.json:20": "requires URN scheme support", - "ref.json:25": "requires URN scheme with JSON pointer", - "ref.json:26": "requires URN scheme with anchor", - "ref.json:27": "requires URN scheme with nested references", - "ref.json:28": "requires conditional schema reference resolution", + "ref.json:20": "requires $id evaluation before $ref on nested schemas", + "ref.json:21": "requires URN scheme support", + "ref.json:26": "requires URN scheme with JSON pointer", + "ref.json:27": "requires URN scheme with anchor", + "ref.json:28": "requires URN scheme with nested references", "ref.json:29": "requires conditional schema reference resolution", "ref.json:30": "requires conditional schema reference resolution", - "ref.json:31": "requires absolute path reference resolution", + "ref.json:31": "requires conditional schema reference resolution", + "ref.json:32": "requires absolute path reference resolution", // dynamicRef.json tests - all failing due to lack of dynamic reference support "dynamicRef.json:0": "requires dynamic reference resolution support", @@ -98,6 +99,7 @@ var blacklistedTestCases = map[string]string{ "dynamicRef.json:15": "requires dynamic reference resolution support", "dynamicRef.json:16": "requires dynamic reference resolution support", "dynamicRef.json:19": "requires dynamic reference resolution support", + "dynamicRef.json:20": "requires dynamic reference resolution support", // optional/dynamicRef.json tests "optional/dynamicRef.json:0": "requires dynamic reference resolution support",