<?php

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

use ApiPlatform\Metadata\ApiResource;
use ApiPlatform\Metadata\GetCollection;
use App\Domain\Setting\Infrastructure\ApiPlatform\State\Provider\ListContentSourceStateProvider;

#[ApiResource(
    shortName: 'ContentSource',
    operations: [
        new GetCollection(
            uriTemplate: '/content-sources',
            provider: ListContentSourceStateProvider::class,
            description: 'Récupère la liste des sources de contenu'
        )
    ]
)]
class ListContentSourceResource
{
}
