diff --git a/build/api/core/Documentation.php b/build/api/core/Documentation.php index abf7dce..93873fd 100644 --- a/build/api/core/Documentation.php +++ b/build/api/core/Documentation.php @@ -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();