Skip to content

Commit

Permalink
adapt websocket binding
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed Nov 17, 2023
1 parent 9e59bb7 commit bae60d4
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions bindings/websockets/0.1.0/channel.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,25 @@
"description": "The HTTP method to use when establishing the connection. Its value MUST be either 'GET' or 'POST'."
},
"query": {
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json",
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json",
},
{
"$ref": "https://asyncapi.com/definitions/3.0.0/Reference.json"
}
],
"description": "A Schema object containing the definitions for each query parameter. This schema MUST be of type 'object' and have a 'properties' key."
},
"headers": {
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json",
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json",
},
{
"$ref": "https://asyncapi.com/definitions/3.0.0/Reference.json"
}
],
"description": "A Schema object containing the definitions of the HTTP headers to use when establishing the connection. This schema MUST be of type 'object' and have a 'properties' key."
},
"bindingVersion": {
Expand Down

0 comments on commit bae60d4

Please sign in to comment.