File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class Swagger2 extends Spec
9
9
/**
10
10
* @var array
11
11
*/
12
- private array $ serviceParams = [];
12
+ // private array $serviceParams = [];
13
13
14
14
/**
15
15
* @return string
@@ -138,7 +138,7 @@ public function getServices()
138
138
public function getMethods ($ service )
139
139
{
140
140
$ list = [];
141
- $ serviceParams = [];
141
+ // $serviceParams= [];
142
142
$ security = $ this ->getAttribute ('securityDefinitions ' , []);
143
143
$ paths = $ this ->getAttribute ('paths ' , []);
144
144
@@ -222,9 +222,9 @@ public function getMethods($service)
222
222
223
223
$ param ['default ' ] = (is_array ($ param ['default ' ])) ? json_encode ($ param ['default ' ]) : $ param ['default ' ];
224
224
225
- if (($ parameter ['x-global ' ] ?? false )) {
226
- $ serviceParams [$ param ['name ' ]] = $ param ;
227
- }
225
+ // if(($parameter['x-global'] ?? false)) {
226
+ // $serviceParams[$param['name']] = $param;
227
+ // }
228
228
229
229
switch ($ parameter ['in ' ]) {
230
230
case 'header ' :
@@ -282,7 +282,7 @@ public function getMethods($service)
282
282
}
283
283
}
284
284
285
- $ this ->serviceParams [$ service ] = $ serviceParams ;
285
+ // $this->serviceParams[$service] = $serviceParams;
286
286
287
287
return $ list ;
288
288
}
You can’t perform that action at this time.
0 commit comments