nginx-proxy-manager/backend/internal/api/schema/update_setting.go

18 lines
283 B
Go

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