fix: missing 404 response in rule engine api schema

This commit is contained in:
Ivan Dyachkov 2023-06-08 11:46:16 +02:00
parent b9f1a70214
commit 711cedc282
1 changed files with 1 additions and 0 deletions

View File

@ -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">>
}
}