fix python

This commit is contained in:
John Smith 2023-07-04 13:11:22 -04:00
parent c682de9c27
commit bd7c5701fe
2 changed files with 23 additions and 33 deletions

View File

@ -2719,6 +2719,17 @@
}
}
},
"FourCC": {
"description": "FOURCC code",
"type": "array",
"items": {
"type": "integer",
"format": "uint8",
"minimum": 0.0
},
"maxItems": 4,
"minItems": 4
},
"LatencyStats": {
"type": "object",
"required": [
@ -3203,35 +3214,14 @@
"VeilidConfigCapabilities": {
"type": "object",
"required": [
"protocol_accept_tcp",
"protocol_accept_ws",
"protocol_accept_wss",
"protocol_connect_tcp",
"protocol_connect_ws",
"protocol_connect_wss",
"protocol_udp"
"disable"
],
"properties": {
"protocol_accept_tcp": {
"type": "boolean"
},
"protocol_accept_ws": {
"type": "boolean"
},
"protocol_accept_wss": {
"type": "boolean"
},
"protocol_connect_tcp": {
"type": "boolean"
},
"protocol_connect_ws": {
"type": "boolean"
},
"protocol_connect_wss": {
"type": "boolean"
},
"protocol_udp": {
"type": "boolean"
"disable": {
"type": "array",
"items": {
"$ref": "#/definitions/FourCC"
}
}
}
},

View File

@ -53,13 +53,13 @@ class CryptoKind(StrEnum):
class Capability(StrEnum):
CAP_WILL_ROUTE = "ROUT"
CAP_ROUTE = "ROUT"
CAP_TUNNEL = "TUNL"
CAP_WILL_SIGNAL = "SGNL"
CAP_WILL_RELAY = "RLAY"
CAP_WILL_VALIDATE_DIAL_INFO = "DIAL"
CAP_WILL_DHT = "DHTV"
CAP_WILL_APPMESSAGE = "APPM"
CAP_SIGNAL = "SGNL"
CAP_RELAY = "RLAY"
CAP_VALIDATE_DIAL_INFO = "DIAL"
CAP_DHT = "DHTV"
CAP_APPMESSAGE = "APPM"
CAP_BLOCKSTORE = "BLOC"