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