Christophe Francey

Results 13 comments of Christophe Francey

Some additional informations: 1. Generate doc from php-cli works as expected: `./frankenphp php-cli artisan scramble:export` 2. Serving app directly from FrankenPHP without Octane works *(tested with Docker)*: `docker run -p...

As a workaround, the time to find the cause, this code works fine after having exporting doc from command line. ```php Route::get('docs/api.json', function (Dedoc\Scramble\Generator $generator) { return File::exists($doc = base_path(config('scramble.export_path')))...

@romalytvynenko After many hours of digging debug, I finally found that the properties was not resolved from `\Dedoc\Scramble\Infer\Scope\Index::class` \Dedoc\Scramble\Support\TypeToSchemaExtensions\JsonResourceTypeToSchema::toSchema \Dedoc\Scramble\Support\Type\ObjectType::getMethodDefinition \Dedoc\Scramble\Infer\Definition\ClassDefinition::getMethodDefinition [\Dedoc\Scramble\Infer\Scope\Scope::__construct](https://github.com/dedoc/scramble/blob/main/src/Infer/Scope/Scope.php#L34) As `Index::class` is resolved only one time, it...