Added api.core.Documentation (renamed 'des' to 'descriptin')

This commit is contained in:
xdrm-brackets 2017-12-13 13:01:46 +01:00
parent a2828fbd63
commit 7e68b19d82
1 changed files with 6 additions and 3 deletions

View File

@ -39,15 +39,18 @@
/* (1) Build uri with args */ /* (1) Build uri with args */
$cfg[$method]['uri_scheme'] = self::uri_scheme($rq->get('id')['path'], $spec); $cfg[$method]['uri_scheme'] = self::uri_scheme($rq->get('id')['path'], $spec);
/* (2) Build human-readable permission list */ /* (2) Rename 'des' to 'description' */
$cfg[$method]['description'] = $cfg[$method]['des'];
unset($cfg[$method]['des']);
/* (3) Build human-readable permission list */
$cfg[$method]['permissions'] = "accessible with:".self::permissions($spec); $cfg[$method]['permissions'] = "accessible with:".self::permissions($spec);
unset($cfg[$method]['per']); unset($cfg[$method]['per']);
/* (3) Build ease parameter list */ /* (4) Build ease parameter list */
$cfg[$method]['parameters'] = self::parameters($spec); $cfg[$method]['parameters'] = self::parameters($spec);
unset($cfg[$method]['par']); unset($cfg[$method]['par']);
} }
$response = new Response(); $response = new Response();