Skip to content

Commit 37215ee

Browse files
committed
commented out service params
1 parent faccb45 commit 37215ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Spec/Swagger2.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function getServices()
112112
$list[$tag] = [
113113
'name' => $tag,
114114
'methods' => $methods,
115-
'globalParams' => $this->serviceParams[$tag] ?? [],
115+
// 'globalParams' => $this->serviceParams[$tag] ?? [],
116116
];
117117
}
118118
}
@@ -210,7 +210,7 @@ public function getMethods($service)
210210
'default' => $parameter['default'] ?? null,
211211
'example' => $parameter['x-example'] ?? null,
212212
'isUploadID' => $parameter['x-upload-id'] ?? false,
213-
'isGlobal' => $parameter['x-global'] ?? false,
213+
// 'isGlobal' => $parameter['x-global'] ?? false,
214214
'array' => [
215215
'type' => $parameter['items']['type'] ?? '',
216216
],
@@ -250,7 +250,7 @@ public function getMethods($service)
250250
$param['required'] = (in_array($key, $bodyRequired));
251251
$param['default'] = $value['default'] ?? null;
252252
$param['example'] = $value['x-example'] ?? null;
253-
$param['isGlobal'] = $value['x-global'] ?? false;
253+
// $param['isGlobal'] = $value['x-global'] ?? false;
254254
$param['isUploadID'] = $value['x-upload-id'] ?? false;
255255
$param['array'] = [
256256
'type' => $value['items']['type'] ?? '',

0 commit comments

Comments
 (0)