StydeNet / enlighten

Enlighten your APIs with auto-generated documentation
MIT License
575 stars 32 forks source link

Missing file parameter #46

Closed dhtmdgkr123 closed 3 years ago

dhtmdgkr123 commented 3 years ago

Describe the bug run test code and generate document but file pararmeter is missing

To Reproduce Steps to reproduce the behavior:

  1. php artisan enlighten:migrate:fresh
  2. php artisan test
  3. php artisan enlighten:export

Expected behavior Want fileparameter to document my test code append file but file parameter content not found

$requestUrl = route('updateTeamLogo', [
    'teamSlug' => $team->slug,
]);
$tryUpdateLogo = $this->postJson($requestUrl, [
    'logo_image' => UploadedFile::fake()->create('test.png', 2000),
])->assertOk();

Screenshots image

sileence commented 3 years ago

@dhtmdgkr123 hello! I just finished this fix/feature, you'll find it in dev for now, although we'll be re-deploying soon. You need to re-run the migrations or add a new "request_files" field to the example_requests table.

I hope this helps.

dhtmdgkr123 commented 3 years ago

@dhtmdgkr123 hello! I just finished this fix/feature, you'll find it in dev for now, although we'll be re-deploying soon. You need to re-run the migrations or add a new "request_files" field to the example_requests table.

I hope this helps. @jeffochoa Thank u :)