Skip to content

Commit 9f565db

Browse files
authored
doc: update generated testsuite samples (#178)
1 parent b549d02 commit 9f565db

File tree

6 files changed

+12
-18
lines changed

6 files changed

+12
-18
lines changed

doc/samples/draft-next/refRemote.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ return ref0
2929
### Schema
3030

3131
```json
32-
{
33-
"$ref": "http://localhost:1234/draft-next/subSchemas-defs.json#/$defs/integer"
34-
}
32+
{ "$ref": "http://localhost:1234/draft-next/subSchemas.json#/$defs/integer" }
3533
```
3634

3735
### Code
@@ -82,7 +80,7 @@ return ref0
8280

8381
```json
8482
{
85-
"$ref": "http://localhost:1234/draft-next/subSchemas-defs.json#/$defs/refToInteger"
83+
"$ref": "http://localhost:1234/draft-next/subSchemas.json#/$defs/refToInteger"
8684
}
8785
```
8886

doc/samples/draft2019-09/refRemote.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ return ref0
2929
### Schema
3030

3131
```json
32-
{
33-
"$ref": "http://localhost:1234/draft2019-09/subSchemas-defs.json#/$defs/integer"
34-
}
32+
{ "$ref": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/integer" }
3533
```
3634

3735
### Code
@@ -82,7 +80,7 @@ return ref0
8280

8381
```json
8482
{
85-
"$ref": "http://localhost:1234/draft2019-09/subSchemas-defs.json#/$defs/refToInteger"
83+
"$ref": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/refToInteger"
8684
}
8785
```
8886

doc/samples/draft2020-12/refRemote.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ return ref0
2929
### Schema
3030

3131
```json
32-
{
33-
"$ref": "http://localhost:1234/draft2020-12/subSchemas-defs.json#/$defs/integer"
34-
}
32+
{ "$ref": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/integer" }
3533
```
3634

3735
### Code
@@ -82,7 +80,7 @@ return ref0
8280

8381
```json
8482
{
85-
"$ref": "http://localhost:1234/draft2020-12/subSchemas-defs.json#/$defs/refToInteger"
83+
"$ref": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/refToInteger"
8684
}
8785
```
8886

doc/samples/draft4/refRemote.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ return ref0
3333
### Schema
3434

3535
```json
36-
{ "$ref": "http://localhost:1234/subSchemas.json#/integer" }
36+
{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/integer" }
3737
```
3838

3939
### Code
@@ -61,7 +61,7 @@ return ref0
6161
### Schema
6262

6363
```json
64-
{ "$ref": "http://localhost:1234/subSchemas.json#/refToInteger" }
64+
{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/refToInteger" }
6565
```
6666

6767
### Code

doc/samples/draft6/refRemote.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ return ref0
3333
### Schema
3434

3535
```json
36-
{ "$ref": "http://localhost:1234/subSchemas.json#/integer" }
36+
{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/integer" }
3737
```
3838

3939
### Code
@@ -61,7 +61,7 @@ return ref0
6161
### Schema
6262

6363
```json
64-
{ "$ref": "http://localhost:1234/subSchemas.json#/refToInteger" }
64+
{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/refToInteger" }
6565
```
6666

6767
### Code

doc/samples/draft7/refRemote.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ return ref0
3333
### Schema
3434

3535
```json
36-
{ "$ref": "http://localhost:1234/subSchemas.json#/integer" }
36+
{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/integer" }
3737
```
3838

3939
### Code
@@ -61,7 +61,7 @@ return ref0
6161
### Schema
6262

6363
```json
64-
{ "$ref": "http://localhost:1234/subSchemas.json#/refToInteger" }
64+
{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/refToInteger" }
6565
```
6666

6767
### Code

0 commit comments

Comments
 (0)