You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Warning: Undefined array key "object" in /home/xxx/projects/camunda-api-client/vendor/jane-php/open-api-3/Generator/Parameter/NonBodyParameterGenerator.php on line 197
#771
Jane version(s) affected: 7.5 (latest install according to docs)
Description
Code-Gen fails with Warning:
PHPWarning: Undefined array key "object" in /home/xxx/projects/camunda-api-client/vendor/jane-php/open-api-3/Generator/Parameter/NonBodyParameterGenerator.php on line 197PHPFatal error: UncaughtTypeError: Jane\Component\OpenApi3\Generator\Parameter\NonBodyParameterGenerator::convertParameterType(): Return value must be of type array, null returned in /home/xxx/projects/camunda-api-client/vendor/jane-php/open-api-3/Generator/Parameter/NonBodyParameterGenerator.php:197Stack trace:
#0 /home/xxx/projects/camunda-api-client/vendor/jane-php/open-api-3/Generator/Parameter/NonBodyParameterGenerator.php(153): Jane\Component\OpenApi3\Generator\Parameter\NonBodyParameterGenerator->convertParameterType()#1 /home/xxx/projects/camunda-api-client/vendor/jane-php/open-api-3/Generator/Endpoint/GetConstructorTrait.php(60): Jane\Component\OpenApi3\Generator\Parameter\NonBodyParameterGenerator->generateOptionDocParameter()#2 /home/xxx/projects/camunda-api-client/vendor/jane-php/open-api-3/Generator/EndpointGenerator.php(82): Jane\Component\OpenApi3\Generator\EndpointGenerator->getConstructor()#3 /home/xxx/projects/camunda-api-client/vendor/jane-php/open-api-common/Generator/OperationGenerator.php(38): Jane\Component\OpenApi3\Generator\EndpointGenerator->createEndpointClass()#4 /home/xxx/projects/camunda-api-client/vendor/jane-php/open-api-common/Generator/ClientGenerator.php(38): Jane\Component\OpenApiCommon\Generator\OperationGenerator->createOperation()#5 /home/xxx/projects/camunda-api-client/vendor/jane-php/json-schema/Generator/ChainGenerator.php(28): Jane\Component\OpenApiCommon\Generator\ClientGenerator->generate()#6 /home/xxx/projects/camunda-api-client/vendor/jane-php/open-api-common/Console/Command/GenerateCommand.php(61): Jane\Component\JsonSchema\Generator\ChainGenerator->generate()#7 /home/xxx/projects/camunda-api-client/vendor/symfony/console/Command/Command.php(326): Jane\Component\OpenApiCommon\Console\Command\GenerateCommand->execute()#8 /home/xxx/projects/camunda-api-client/vendor/symfony/console/Application.php(1063): Symfony\Component\Console\Command\Command->run()#9 /home/xxx/projects/camunda-api-client/vendor/symfony/console/Application.php(320): Symfony\Component\Console\Application->doRunCommand()#10 /home/xxx/projects/camunda-api-client/vendor/symfony/console/Application.php(174): Symfony\Component\Console\Application->doRun()#11 /home/xxx/projects/camunda-api-client/vendor/jane-php/open-api-common/bin/jane-openapi(24): Symfony\Component\Console\Application->run()#12 /home/xxx/projects/camunda-api-client/vendor/bin/jane-openapi(120): include('...')#13 {main}
thrown in /home/xxx/projects/camunda-api-client/vendor/jane-php/open-api-3/Generator/Parameter/NonBodyParameterGenerator.php on line 197
Jane version(s) affected: 7.5 (latest install according to docs)
Description
Code-Gen fails with Warning:
How to reproduce
Specs file: https://docs.camunda.org/rest/camunda-bpm-platform/7.21-SNAPSHOT/
With command:
php vendor/bin/jane-openapi generate --config-file=jane-openapi-configuration.php
The text was updated successfully, but these errors were encountered: