Skip to content

Commit

Permalink
doc: update generated testsuite samples (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChALkeR authored Jan 31, 2024
1 parent b549d02 commit 9f565db
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 18 deletions.
6 changes: 2 additions & 4 deletions doc/samples/draft-next/refRemote.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
}
```

Expand Down
6 changes: 2 additions & 4 deletions doc/samples/draft2019-09/refRemote.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
}
```

Expand Down
6 changes: 2 additions & 4 deletions doc/samples/draft2020-12/refRemote.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
}
```

Expand Down
4 changes: 2 additions & 2 deletions doc/samples/draft4/refRemote.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ return ref0
### Schema

```json
{ "$ref": "http://localhost:1234/subSchemas.json#/integer" }
{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/integer" }
```

### Code
Expand Down Expand Up @@ -61,7 +61,7 @@ return ref0
### Schema

```json
{ "$ref": "http://localhost:1234/subSchemas.json#/refToInteger" }
{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/refToInteger" }
```

### Code
Expand Down
4 changes: 2 additions & 2 deletions doc/samples/draft6/refRemote.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ return ref0
### Schema

```json
{ "$ref": "http://localhost:1234/subSchemas.json#/integer" }
{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/integer" }
```

### Code
Expand Down Expand Up @@ -61,7 +61,7 @@ return ref0
### Schema

```json
{ "$ref": "http://localhost:1234/subSchemas.json#/refToInteger" }
{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/refToInteger" }
```

### Code
Expand Down
4 changes: 2 additions & 2 deletions doc/samples/draft7/refRemote.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ return ref0
### Schema

```json
{ "$ref": "http://localhost:1234/subSchemas.json#/integer" }
{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/integer" }
```

### Code
Expand Down Expand Up @@ -61,7 +61,7 @@ return ref0
### Schema

```json
{ "$ref": "http://localhost:1234/subSchemas.json#/refToInteger" }
{ "$ref": "http://localhost:1234/subSchemas.json#/definitions/refToInteger" }
```

### Code
Expand Down

0 comments on commit 9f565db

Please sign in to comment.