Added api.core.Documentation (renamed 'des' to 'descriptin')
This commit is contained in:
parent
a2828fbd63
commit
7e68b19d82
|
@ -39,15 +39,18 @@
|
|||
/* (1) Build uri with args */
|
||||
$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);
|
||||
unset($cfg[$method]['per']);
|
||||
|
||||
/* (3) Build ease parameter list */
|
||||
/* (4) Build ease parameter list */
|
||||
$cfg[$method]['parameters'] = self::parameters($spec);
|
||||
unset($cfg[$method]['par']);
|
||||
|
||||
|
||||
}
|
||||
|
||||
$response = new Response();
|
||||
|
|
Loading…
Reference in New Issue