| @@ 575-579 (lines=5) @@ | ||
| 572 | ]; |
|
| 573 | } |
|
| 574 | } |
|
| 575 | if (array_key_exists('query', $endpoint)) { |
|
| 576 | foreach ($endpoint['query'] as $query) { |
|
| 577 | $paths[$url][$method]['parameters'][] = $query; |
|
| 578 | } |
|
| 579 | } |
|
| 580 | if (array_key_exists('headers', $endpoint)) { |
|
| 581 | foreach ($endpoint['headers'] as $query) { |
|
| 582 | $paths[$url][$method]['parameters'][] = $query; |
|
| @@ 580-584 (lines=5) @@ | ||
| 577 | $paths[$url][$method]['parameters'][] = $query; |
|
| 578 | } |
|
| 579 | } |
|
| 580 | if (array_key_exists('headers', $endpoint)) { |
|
| 581 | foreach ($endpoint['headers'] as $query) { |
|
| 582 | $paths[$url][$method]['parameters'][] = $query; |
|
| 583 | } |
|
| 584 | } |
|
| 585 | foreach ($endpoint['objects'] as $name => $object) { |
|
| 586 | if (class_exists($name)) { |
|
| 587 | $class = GeneratorHelper::extractClassFromNamespace($name); |
|