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