fix(rules): make the 'name' field of POST /rules mandatory
This commit is contained in:
parent
5f050b149b
commit
9b4b3d2e8c
|
@ -182,6 +182,7 @@ rule_name() ->
|
||||||
{"name", sc(binary(),
|
{"name", sc(binary(),
|
||||||
#{ desc => "The name of the rule"
|
#{ desc => "The name of the rule"
|
||||||
, default => ""
|
, default => ""
|
||||||
|
, nullable => false
|
||||||
, example => "foo"
|
, example => "foo"
|
||||||
})}.
|
})}.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue