@asyncapi/specs
Advanced tools
Comparing version 5.0.0-next-major-spec.18 to 5.0.0-next-major-spec.19
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/message.json" | ||
"oneOf": [ | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/message.json" | ||
} | ||
] | ||
}, | ||
@@ -6,0 +13,0 @@ "description": "A map of the messages that will be sent to this channel by any application at any time. **Every message sent to this channel MUST be valid against one, and only one, of the message objects defined in this map.**", |
@@ -5,4 +5,8 @@ { | ||
"oneOf": [ | ||
{ "$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json" }, | ||
{ "$ref": "http://asyncapi.com/definitions/3.0.0/channel.json" } | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/channel.json" | ||
} | ||
] | ||
@@ -9,0 +13,0 @@ }, |
{ | ||
"oneOf": [ | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json" | ||
"type": "object", | ||
"required": [ | ||
"oneOf" | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
"oneOf": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/messageObject.json" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"required": [ | ||
"oneOf" | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
"oneOf": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/messageObject.json" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/messageObject.json" | ||
} | ||
] | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/messageObject.json" | ||
} | ||
@@ -28,0 +21,0 @@ ], |
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/message.json" | ||
"oneOf": [ | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/message.json" | ||
} | ||
] | ||
}, | ||
@@ -6,0 +13,0 @@ "description": "JSON objects describing the messages being consumed and produced by the API.", |
@@ -31,21 +31,2 @@ { | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/operationTrait.json" | ||
}, | ||
{ | ||
"type": "array", | ||
"items": [ | ||
{ | ||
"oneOf": [ | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/operationTrait.json" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "object", | ||
"additionalItems": true | ||
} | ||
] | ||
} | ||
@@ -52,0 +33,0 @@ ] |
@@ -5,4 +5,8 @@ { | ||
"oneOf": [ | ||
{ "$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json" }, | ||
{ "$ref": "http://asyncapi.com/definitions/3.0.0/operation.json" } | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/operation.json" | ||
} | ||
] | ||
@@ -9,0 +13,0 @@ }, |
{ | ||
"name": "@asyncapi/specs", | ||
"version": "5.0.0-next-major-spec.18", | ||
"version": "5.0.0-next-major-spec.19", | ||
"description": "AsyncAPI schema versions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14567298
1014
128437