Incorporate feedback

- Empty function removed
- Placeholder and Maxlength restored
- Validation improved
- Typo fixed
This commit is contained in:
Björn Heinrichs
2021-08-13 11:32:01 +02:00
committed by GitHub
parent 389fd158ad
commit ba7bb57ca2
4 changed files with 15 additions and 8 deletions

View File

@ -21,9 +21,19 @@
"maximum": 65535
},
"forwarding_host": {
"type": "string",
"minLength": 1,
"maxLength": 255
"oneOf": [
{
"$ref": "../definitions.json#/definitions/domain_name"
},
{
"type": "string",
"format": "ipv4"
},
{
"type": "string",
"format": "ipv6"
}
]
},
"forwarding_port": {
"type": "integer",