mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Add method description to conduit.query
Summary: As suggested in T6950, add the method description to the response from `conduit.query`. Test Plan: Called `echo '{}' | arc call-conduit conduit.query` and verified that the response contained the method description. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11467
This commit is contained in:
parent
1258ed348b
commit
fff0481184
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ final class ConduitQueryConduitAPIMethod extends ConduitAPIMethod {
|
||||||
$names_to_params = array();
|
$names_to_params = array();
|
||||||
foreach ($classes as $class) {
|
foreach ($classes as $class) {
|
||||||
$names_to_params[$class->getAPIMethodName()] = array(
|
$names_to_params[$class->getAPIMethodName()] = array(
|
||||||
|
'description' => $class->getMethodDescription(),
|
||||||
'params' => $class->defineParamTypes(),
|
'params' => $class->defineParamTypes(),
|
||||||
'return' => $class->defineReturnType(),
|
'return' => $class->defineReturnType(),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue