1
0
mirror of https://github.com/NginxProxyManager/nginx-proxy-manager.git synced 2025-07-13 16:21:46 +03:00
Files
nginx-proxy-manager/backend/internal/api/schema/update_nginx_template.go
Jamie Curnow 152b7666d8 New lint rules
2024-11-21 19:07:36 +10:00

23 lines
375 B
Go

package schema
// UpdateNginxTemplate is the schema for incoming data validation
func UpdateNginxTemplate() string {
return `
{
"type": "object",
"additionalProperties": false,
"minProperties": 1,
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"template": {
"type": "string",
"minLength": 20
}
}
}
`
}