Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit babc8b1

Browse files
committed
Use longer description in api generator.
1 parent 186cd9e commit babc8b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/core/classes/class.PydioSdkGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public static function analyzeRegistry($versionString)
105105
"operations" => array(
106106
array(
107107
"method" => empty($http) ? "POST" : strtoupper($http),
108-
"summary" => substr($comment, 0, 40) . (strlen($comment) > 40 ? "..." : ""),
108+
"summary" => substr($comment, 0, 80) . (strlen($comment) > 80 ? "..." : ""),
109109
"notes" => $comment."<br>Sdk name: ". $methodName."()",
110110
"responseClass" => $outputType,
111111
"nickname" => $methodName,
@@ -140,7 +140,7 @@ public static function analyzeRegistry($versionString)
140140
$p = $pServ->findPluginById($pluginName);
141141
$apidocs["apis"][] = array(
142142
"path" => JSON_URL."/$versionString/".$pluginName,
143-
"description" => substr($p->getManifestDescription(), 0, 40)."..."
143+
"description" => $p->getManifestDescription()
144144
);
145145

146146
}

0 commit comments

Comments
 (0)