-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
return both readonly and writeonly when mode is not specified; start …
…working on separate x-type resolver and validator; refactor transforming inline refs
- Loading branch information
Showing
24 changed files
with
530 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"title": "New Blog Post", | ||
"content": "This is the content of the blog post...", | ||
"publishedDate": "2023-08-25T15:00:00Z", | ||
"author": { | ||
"username": "authoruser", | ||
"email": "[email protected]", | ||
"age": "34" | ||
}, | ||
"tags": ["Technology", "Programming"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"description": "A representation of a blog post", | ||
"type": "object", | ||
"required": ["title", "content", "author"], | ||
"properties": { | ||
"title": { | ||
"type": "string" | ||
}, | ||
"content": { | ||
"type": "string" | ||
}, | ||
"publishedDate": { | ||
"type": "string", | ||
"format": "date-time" | ||
}, | ||
"author": { | ||
"$ref": "user-profile.schema.json" | ||
}, | ||
"tags": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
description: A representation of a blog post | ||
type: object | ||
required: | ||
- title | ||
- content | ||
- author | ||
properties: | ||
title: | ||
type: string | ||
content: | ||
type: string | ||
publishedDate: | ||
type: string | ||
format: date-time | ||
author: | ||
'$ref': user-profile.schema.json | ||
tags: | ||
type: array | ||
items: | ||
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
title: string | ||
content: string | ||
publishedDate: | ||
- string::date-time | ||
- undefined | ||
author: $ref:user-profile.x-type.yaml | ||
tags: | ||
- array: string | ||
- undefined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "Az Bukh", | ||
"friends": [ | ||
{ | ||
"name": "Vidh Glagol", | ||
"friends": [43] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
title: Person | ||
type: object | ||
properties: | ||
name: | ||
type: string | ||
friends: | ||
type: array | ||
items: | ||
$ref: '#' | ||
required: | ||
- name | ||
- friends | ||
additionalProperties: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
name: string | ||
friends: | ||
array: $ref:# |
Oops, something went wrong.