nginx-proxy-manager-zh/backend/internal/api/schema/update_access_list.go
2023-01-13 15:03:28 +10:00

18 lines
301 B
Go

package schema
import "fmt"
// UpdateAccessList is the schema for incoming data validation
func UpdateAccessList() string {
return fmt.Sprintf(`
{
"type": "object",
"additionalProperties": false,
"minProperties": 1,
"properties": {
"name": %s
}
}
`, stringMinMax(2, 100))
}