mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-28 11:40:04 +00:00
18 lines
341 B
Go
18 lines
341 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,
|
|
"acme2_url": %s
|
|
}
|
|
}
|
|
`, stringMinMax(1, 100), stringMinMax(8, 255))
|
|
}
|