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