You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
2.2 KiB
79 lines
2.2 KiB
{
|
|
"$id": "https://spec.openapis.org/oas/3.1/meta/base",
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$vocabulary": {
|
|
"https://spec.openapis.org/oas/3.1/vocab/base": true
|
|
},
|
|
"$dynamicAnchor": "meta",
|
|
"title": "OAS Base vocabulary",
|
|
|
|
"type": ["object", "boolean"],
|
|
"properties": {
|
|
"example": true,
|
|
"discriminator": { "$ref": "#/$defs/discriminator" },
|
|
"externalDocs": { "$ref": "#/$defs/external-docs" },
|
|
"xml": { "$ref": "#/$defs/xml" }
|
|
},
|
|
"$defs": {
|
|
"extensible": {
|
|
"patternProperties": {
|
|
"^x-": true
|
|
}
|
|
},
|
|
"discriminator": {
|
|
"$ref": "#/$defs/extensible",
|
|
"type": "object",
|
|
"properties": {
|
|
"propertyName": {
|
|
"type": "string"
|
|
},
|
|
"mapping": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"required": ["propertyName"],
|
|
"unevaluatedProperties": false
|
|
},
|
|
"external-docs": {
|
|
"$ref": "#/$defs/extensible",
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string",
|
|
"format": "uri-reference"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["url"],
|
|
"unevaluatedProperties": false
|
|
},
|
|
"xml": {
|
|
"$ref": "#/$defs/extensible",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"namespace": {
|
|
"type": "string",
|
|
"format": "uri"
|
|
},
|
|
"prefix": {
|
|
"type": "string"
|
|
},
|
|
"attribute": {
|
|
"type": "boolean"
|
|
},
|
|
"wrapped": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"unevaluatedProperties": false
|
|
}
|
|
}
|
|
}
|
|
|