Merge pull request #10978 from id/0608-fix-404-in-rule-engine-api
fix: missing 404 response in rule engine api schema
This commit is contained in:
commit
b4d081f424
|
@ -253,6 +253,7 @@ schema("/rules/:id") ->
|
|||
summary => <<"Delete rule">>,
|
||||
parameters => param_path_id(),
|
||||
responses => #{
|
||||
404 => error_schema('NOT_FOUND', "Rule not found"),
|
||||
204 => <<"Delete rule successfully">>
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue