Replies: 12 comments 6 replies
-
According to definition, Reference can't be extended Motivation:
Current Reference tests skip extensions part, because schema doesn't have So, let's add this restriction, or not? @fmvilas @derberg @dalelane @smoya @char0n @GreenRover @jonaslagoni |
Beta Was this translation helpful? Give feedback.
-
According to definition, Server can't be extended Motivation: So, let's add this restriction, or not? @fmvilas @derberg @dalelane @smoya @char0n @GreenRover @jonaslagoni |
Beta Was this translation helpful? Give feedback.
-
BindingsObject:
I propose to refactor (channel | server | operation | message)BindingsObject |
Beta Was this translation helpful? Give feedback.
-
Bindings:
Looks like they MUST respect this - This object MAY be extended with Specification Extensions. |
Beta Was this translation helpful? Give feedback.
-
AMQP channel binding Looks like |
Beta Was this translation helpful? Give feedback.
-
IBM MQ operation binding Looks like |
Beta Was this translation helpful? Give feedback.
-
IBM MQ channel binding Looks like |
Beta Was this translation helpful? Give feedback.
-
Amazon SNS channel binding broken example for [
{
"instancePath": "/consumers/0/filterPolicy/event/0",
"schemaPath": "#/properties/filterPolicy/additionalProperties/oneOf/0/items/type",
"keyword": "type",
"params": { "type": "string" },
"message": "must be string"
},
{
"instancePath": "/consumers/0/filterPolicy/event",
"schemaPath": "#/properties/filterPolicy/additionalProperties/oneOf/1/type",
"keyword": "type",
"params": { "type": "string" },
"message": "must be string"
},
{
"instancePath": "/consumers/0/filterPolicy/event",
"schemaPath": "#/properties/filterPolicy/additionalProperties/oneOf/2/type",
"keyword": "type",
"params": { "type": "object" },
"message": "must be object"
},
{
"instancePath": "/consumers/0/filterPolicy/event",
"schemaPath": "#/properties/filterPolicy/additionalProperties/oneOf",
"keyword": "oneOf",
"params": { "passingSchemas": null },
"message": "must match exactly one schema in oneOf"
}
] |
Beta Was this translation helpful? Give feedback.
-
Message Example not extendable now But: This object MAY be extended with Specification Extensions. |
Beta Was this translation helpful? Give feedback.
-
Operation not extendable now But: This object MAY be extended with Specification Extensions. |
Beta Was this translation helpful? Give feedback.
-
ReferenceObject: error: {
"instancePath": "/messages/0/$ref",
"schemaPath": "http://asyncapi.com/definitions/3.0.0/ReferenceObject.json/format",
"keyword": "format",
"params": { "format": "uri-reference" },
"message": "must match format \"uri-reference\""
} Value can't be: {
"$ref": "#/components/{type}"
} Only: {
"$ref": "http://example.com"
} Allow not inly uri |
Beta Was this translation helpful? Give feedback.
-
Looks like |
Beta Was this translation helpful? Give feedback.
-
Let's discuss current state of Json Schemas and theirs validation trough tests
Ref: #540
Beta Was this translation helpful? Give feedback.
All reactions