mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-28 11:40:04 +00:00
19 lines
379 B
Go
19 lines
379 B
Go
package schema
|
|
|
|
import "fmt"
|
|
|
|
// UpdateCertificateAuthority is the schema for incoming data validation
|
|
func UpdateCertificateAuthority() string {
|
|
return fmt.Sprintf(`
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"name": %s,
|
|
"acmesh_server": %s,
|
|
"max_domains": %s
|
|
}
|
|
}
|
|
`, stringMinMax(1, 100), stringMinMax(2, 255), intMinOne)
|
|
}
|