Skip to content

Commit

Permalink
add descriptions in configure-module/validate-input.json
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Apr 9, 2024
1 parent 400d784 commit 9950065
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions imageroot/actions/configure-module/validate-input.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,24 @@
"type": "string",
"anyOf": [
{
"description": "textarea empty",
"type": "string",
"maxLength": 0
},
{
"description": "ipv4",
"format": "ipv4"
},
{
"description": "cidr ipv4",
"pattern": "^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\/(3[0-2]|[12]?[0-9])$"
},
{
"description": "ipv6 and cidr ipv6",
"pattern": "^[0-9a-fA-F:]+(/[0-9]+)?$"
},
{
"description": "hostname",
"pattern": "^[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$"
}
]
Expand Down

0 comments on commit 9950065

Please sign in to comment.