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:
Ivan Dyachkov 2023-06-08 13:20:02 +02:00 committed by GitHub
commit b4d081f424
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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">>
}
}