<?php

namespace App\Domain\Manga\Infrastructure\ApiPlatform\Resource;

use ApiPlatform\Metadata\ApiResource;
use ApiPlatform\Metadata\Get;
use ApiPlatform\Metadata\GetCollection;
use App\Domain\Manga\Infrastructure\ApiPlatform\Dto\MangaCollection;
use App\Domain\Manga\Infrastructure\ApiPlatform\State\Provider\GetMangaListStateProvider;

#[ApiResource(
    shortName: 'Manga',
    operations: [
        new GetCollection(
            uriTemplate: '/mangas',
            provider: GetMangaListStateProvider::class,
            output: MangaCollection::class
        )
    ]
)]
class MangaListResource
{
}
