api_schema: allow generic api handler functions

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller committed 2019-04-16 11:22:23 +02:00
1 parent 286f0d4099
commit 062d4916ff
13 files changed
+176 -26

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ pub fn router() -> Router {
let route = Router::new()
.get(ApiMethod::new(
|_,_,_| Ok(json!([
|| Ok(json!([
{"subdir": "access"},
{"subdir": "admin"},
{"subdir": "config"},