From 5b34837c03fe10f877cb058fc0fbf79dd26f5155 Mon Sep 17 00:00:00 2001 From: Nikita Skovoroda Date: Thu, 25 Jan 2024 16:31:57 +0300 Subject: [PATCH] doc: update generated testsuite samples --- doc/samples/draft-next/refRemote.md | 6 ++---- doc/samples/draft2019-09/refRemote.md | 6 ++---- doc/samples/draft2020-12/refRemote.md | 6 ++---- doc/samples/draft4/refRemote.md | 4 ++-- doc/samples/draft6/refRemote.md | 4 ++-- doc/samples/draft7/refRemote.md | 4 ++-- 6 files changed, 12 insertions(+), 18 deletions(-) diff --git a/doc/samples/draft-next/refRemote.md b/doc/samples/draft-next/refRemote.md index fd9fa17..970377d 100644 --- a/doc/samples/draft-next/refRemote.md +++ b/doc/samples/draft-next/refRemote.md @@ -29,9 +29,7 @@ return ref0 ### Schema ```json -{ - "$ref": "http://localhost:1234/draft-next/subSchemas-defs.json#/$defs/integer" -} +{ "$ref": "http://localhost:1234/draft-next/subSchemas.json#/$defs/integer" } ``` ### Code @@ -82,7 +80,7 @@ return ref0 ```json { - "$ref": "http://localhost:1234/draft-next/subSchemas-defs.json#/$defs/refToInteger" + "$ref": "http://localhost:1234/draft-next/subSchemas.json#/$defs/refToInteger" } ``` diff --git a/doc/samples/draft2019-09/refRemote.md b/doc/samples/draft2019-09/refRemote.md index 6afe9f8..2c6d9f4 100644 --- a/doc/samples/draft2019-09/refRemote.md +++ b/doc/samples/draft2019-09/refRemote.md @@ -29,9 +29,7 @@ return ref0 ### Schema ```json -{ - "$ref": "http://localhost:1234/draft2019-09/subSchemas-defs.json#/$defs/integer" -} +{ "$ref": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/integer" } ``` ### Code @@ -82,7 +80,7 @@ return ref0 ```json { - "$ref": "http://localhost:1234/draft2019-09/subSchemas-defs.json#/$defs/refToInteger" + "$ref": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/refToInteger" } ``` diff --git a/doc/samples/draft2020-12/refRemote.md b/doc/samples/draft2020-12/refRemote.md index 9ce5fb7..9cbcb2c 100644 --- a/doc/samples/draft2020-12/refRemote.md +++ b/doc/samples/draft2020-12/refRemote.md @@ -29,9 +29,7 @@ return ref0 ### Schema ```json -{ - "$ref": "http://localhost:1234/draft2020-12/subSchemas-defs.json#/$defs/integer" -} +{ "$ref": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/integer" } ``` ### Code @@ -82,7 +80,7 @@ return ref0 ```json { - "$ref": "http://localhost:1234/draft2020-12/subSchemas-defs.json#/$defs/refToInteger" + "$ref": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/refToInteger" } ``` diff --git a/doc/samples/draft4/refRemote.md b/doc/samples/draft4/refRemote.md index 513a22e..9ce45d1 100644 --- a/doc/samples/draft4/refRemote.md +++ b/doc/samples/draft4/refRemote.md @@ -33,7 +33,7 @@ return ref0 ### Schema ```json -{ "$ref": "http://localhost:1234/subSchemas.json#/integer" } +{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/integer" } ``` ### Code @@ -61,7 +61,7 @@ return ref0 ### Schema ```json -{ "$ref": "http://localhost:1234/subSchemas.json#/refToInteger" } +{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/refToInteger" } ``` ### Code diff --git a/doc/samples/draft6/refRemote.md b/doc/samples/draft6/refRemote.md index b347ea7..e2f9f43 100644 --- a/doc/samples/draft6/refRemote.md +++ b/doc/samples/draft6/refRemote.md @@ -33,7 +33,7 @@ return ref0 ### Schema ```json -{ "$ref": "http://localhost:1234/subSchemas.json#/integer" } +{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/integer" } ``` ### Code @@ -61,7 +61,7 @@ return ref0 ### Schema ```json -{ "$ref": "http://localhost:1234/subSchemas.json#/refToInteger" } +{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/refToInteger" } ``` ### Code diff --git a/doc/samples/draft7/refRemote.md b/doc/samples/draft7/refRemote.md index 6cdcde4..073edc9 100644 --- a/doc/samples/draft7/refRemote.md +++ b/doc/samples/draft7/refRemote.md @@ -33,7 +33,7 @@ return ref0 ### Schema ```json -{ "$ref": "http://localhost:1234/subSchemas.json#/integer" } +{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/integer" } ``` ### Code @@ -61,7 +61,7 @@ return ref0 ### Schema ```json -{ "$ref": "http://localhost:1234/subSchemas.json#/refToInteger" } +{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/refToInteger" } ``` ### Code