-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Phil Sturgeon
committed
Jun 21, 2019
1 parent
5f6a25a
commit f58d2c0
Showing
3 changed files
with
164 additions
and
97 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"$schema": "https://spec.openapis.org/oas/3.1/schema#", | ||
"$id": "https://spec.openapis.org/oas/3.1/meta", | ||
"$vocabulary": { | ||
"https://specs.openapis.org/draft/2019-WIP/vocab/openapi": true | ||
}, | ||
"$recursiveAnchor": true, | ||
"title": "OpenAPI Vocabulary Schema", | ||
"type": ["object", "boolean"], | ||
"properties": { | ||
"nullable": { | ||
"type": "boolean", | ||
"deprecated": true | ||
}, | ||
"externalDocs": { | ||
"type": "object", | ||
"properties": { | ||
"description": { | ||
"type": "string" | ||
}, | ||
"url": { | ||
"type": "string", | ||
"format": "uri" | ||
} | ||
}, | ||
"required": ["propertyName"] | ||
}, | ||
"discriminator": { | ||
"type": "object", | ||
"properties": { | ||
"propertyName": { | ||
"type": "string" | ||
}, | ||
"mapping": { | ||
"additionalProperties": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"required": ["propertyName"] | ||
}, | ||
"example": {}, | ||
"xml": { | ||
"type": "object" | ||
} | ||
} | ||
} |
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 @@ | ||
{ | ||
"$schema": "https://spec.openapis.org/oas/3.1/schema#", | ||
"$id": "https://spec.openapis.org/oas/3.1/schema", | ||
"$vocabulary": { | ||
"https://json-schema.org/draft/2019-WIP/vocab/core": true, | ||
"https://json-schema.org/draft/2019-WIP/vocab/applicator": true, | ||
"https://json-schema.org/draft/2019-WIP/vocab/validation": true, | ||
"https://json-schema.org/draft/2019-WIP/vocab/meta-data": true, | ||
"https://json-schema.org/draft/2019-WIP/vocab/format": true, | ||
"https://json-schema.org/draft/2019-WIP/vocab/content": true, | ||
"https://specs.openapis.org/draft/2019-WIP/vocab/openapi": true | ||
}, | ||
"$recursiveAnchor": true, | ||
|
||
"title": "OpenAPI", | ||
"allOf": [ | ||
{"$ref": "http://json-schema.org/draft/2019-WIP/schema"}, | ||
{"$ref": "https://spec.openapis.org/oas/3.1/meta"} | ||
] | ||
} |
Oops, something went wrong.