| @@ 565-569 (lines=5) @@ | ||
| 562 | ]; |
|
| 563 | } |
|
| 564 | } |
|
| 565 | if (array_key_exists('query', $endpoint)) { |
|
| 566 | foreach ($endpoint['query'] as $query) { |
|
| 567 | $paths[$url][$method]['parameters'][] = $query; |
|
| 568 | } |
|
| 569 | } |
|
| 570 | if (array_key_exists('headers', $endpoint)) { |
|
| 571 | foreach ($endpoint['headers'] as $query) { |
|
| 572 | $paths[$url][$method]['parameters'][] = $query; |
|
| @@ 570-574 (lines=5) @@ | ||
| 567 | $paths[$url][$method]['parameters'][] = $query; |
|
| 568 | } |
|
| 569 | } |
|
| 570 | if (array_key_exists('headers', $endpoint)) { |
|
| 571 | foreach ($endpoint['headers'] as $query) { |
|
| 572 | $paths[$url][$method]['parameters'][] = $query; |
|
| 573 | } |
|
| 574 | } |
|
| 575 | foreach ($endpoint['objects'] as $name => $object) { |
|
| 576 | if (class_exists($name)) { |
|
| 577 | $class = GeneratorHelper::extractClassFromNamespace($name); |
|