Update schemata to accommodate changes to WebSockets

This commit is contained in:
Danielle McLean 2025-01-23 18:57:11 +11:00
parent b9039b2ad4
commit b41339a8c5
Signed by: 00dani
GPG key ID: 6854781A0488421C
2 changed files with 3 additions and 29 deletions

View file

@ -5,9 +5,6 @@
"kind": {
"const": "cocoa",
"default": "cocoa",
"enum": [
"cocoa"
],
"title": "Kind",
"type": "string"
}
@ -52,28 +49,14 @@
"WebsocketsReceiverConfig": {
"properties": {
"host": {
"anyOf": [
{
"format": "hostname",
"type": "string"
},
{
"items": {
"format": "hostname",
"type": "string"
},
"type": "array"
}
],
"description": "The hostname you'd like your WebSockets server to listen on. In most cases the default behaviour, which binds to all network interfaces, will be fine.",
"title": "Host"
"format": "hostname",
"title": "Host",
"type": "string"
},
"kind": {
"const": "websockets",
"default": "websockets",
"enum": [
"websockets"
],
"title": "Kind",
"type": "string"
},

View file

@ -136,9 +136,6 @@
},
{
"const": "oneshot",
"enum": [
"oneshot"
],
"type": "string"
}
],
@ -172,9 +169,6 @@
},
{
"const": "oneshot",
"enum": [
"oneshot"
],
"type": "string"
}
],
@ -328,9 +322,6 @@
"state": {
"const": "stop",
"default": "stop",
"enum": [
"stop"
],
"title": "State",
"type": "string"
}