1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00

Revert left over prints

This commit is contained in:
Vincent (Wen Yu) Ge 2024-02-25 22:59:53 +00:00
parent ab36133a8f
commit 22e6e3a18c

View file

@ -122,10 +122,6 @@ class Swagger2 extends Format
$method = $route->getLabel('sdk.method', \uniqid());
$desc = (!empty($route->getLabel('sdk.description', ''))) ? \realpath(__DIR__ . '/../../../../' . $route->getLabel('sdk.description', '')) : null;
if ($desc == null){
echo $route->getLabel('sdk.description', '');
echo '';
}
$produces = $route->getLabel('sdk.response.type', null);
$model = $route->getLabel('sdk.response.model', 'none');
$routeSecurity = $route->getLabel('sdk.auth', []);