summaryrefslogtreecommitdiff
path: root/schemas/config/3.0.schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'schemas/config/3.0.schema.json')
-rw-r--r--schemas/config/3.0.schema.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/schemas/config/3.0.schema.json b/schemas/config/3.0.schema.json
index fe8abd4d..0d62a6f1 100644
--- a/schemas/config/3.0.schema.json
+++ b/schemas/config/3.0.schema.json
@@ -2362,7 +2362,7 @@
"HostAndPortWithTCP": {
"description": "Host and port with tcp:// prefix",
"type": "string",
- "pattern": "^(((tcp:\/\/[0-9a-zA-Z_.-]+|)|\\${([^}]+)}):([0-9]{1,5}||\\${([^}]+)}))|\\${([^}]+)}$",
+ "pattern": "^(((tcp://[0-9a-zA-Z_.-]+|)|\\$\\{([^}]+)\\}):([0-9]{1,5}||\\$\\{([^}]+)\\}))|\\$\\{([^}]+)\\}$",
"examples": [
"tcp://127.0.0.1:443",
"${TCP:-tcp://127.0.0.1:443}",
@@ -2372,7 +2372,7 @@
"HostAndPort": {
"description": "Host and port",
"type": "string",
- "pattern": "^(([0-9a-zA-Z_.-]+|\\${([^}]+)}):([0-9]{1,5}|\\${([^}]+)})|\\${([^}]+)})$",
+ "pattern": "^((([0-9a-zA-Z_.-]+|)|\\$\\{([^}]+)\\}):([0-9]{1,5})|\\$\\{([^}]+)\\})|\\$\\{([^}]+)\\}$",
"examples": [
"127.0.0.1:443",
":8080",