Skip to content

Add support for downloading more than one file #1038

@deniskorbakov

Description

@deniskorbakov

Scribe version

5.5.0

PHP version

8.4

Laravel version

12.38

Scribe config

theme => "elements"
laravel.docs_url => "/api/docs"
auth.enabled => true
auth.name => "Authorization"
last_updated => "\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435: {date:F j, Y}"
strategies.bodyParameters => added DenisKorbakov\LaravelDataScribe\LaravelDataBodyParam

What happened?

When I specify the upload of an array of files, the documentation does not support this upload

class request:

final class StoreDTO extends Data
{
    /**
     * @param ?array<UploadedFile> $files
     */
    public function __construct(
        public ?string $message,
        public ?array $files,
    ) {
    }
}

documentation output:

Image

I expect to see a file input with the ability to select more than one file.

Docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions