feat: Rangement des endpoints dans la doc Api Platform

This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2025-02-12 17:18:16 +01:00
parent 30d26f530d
commit e90c0a140e
6 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ use App\Domain\Manga\Infrastructure\ApiPlatform\State\Processor\CreateMangaDirec
use Symfony\Component\Validator\Constraints as Assert;
#[ApiResource(
shortName: 'CreateMangaDirectly',
shortName: 'Manga',
operations: [
new Post(
uriTemplate: '/mangas/create',

View File

@@ -8,7 +8,7 @@ use App\Domain\Manga\Infrastructure\ApiPlatform\State\Processor\CreateMangaProce
use Symfony\Component\Validator\Constraints as Assert;
#[ApiResource(
shortName: 'CreateManga',
shortName: 'Manga',
operations: [
new Post(
uriTemplate: '/mangas/create-from-mangadex',

View File

@@ -8,7 +8,7 @@ use App\Domain\Manga\Infrastructure\ApiPlatform\State\Processor\FetchMangaChapte
use Symfony\Component\Validator\Constraints as Assert;
#[ApiResource(
shortName: 'FetchMangaChapters',
shortName: 'MangaChapters',
operations: [
new Post(
uriTemplate: '/manga/chapters/fetch',

View File

@@ -8,7 +8,7 @@ use App\Domain\Manga\Infrastructure\ApiPlatform\Dto\MangaSearchCollection;
use App\Domain\Manga\Infrastructure\ApiPlatform\State\Provider\SearchMangaStateProvider;
#[ApiResource(
shortName: 'MangaSearch',
shortName: 'Manga',
operations: [
new Get(
uriTemplate: '/mangas-search',

View File

@@ -9,7 +9,7 @@ use App\Domain\Scraping\Infrastructure\ApiPlatform\State\Processor\ScrapeChapter
use Symfony\Component\Validator\Constraints as Assert;
#[ApiResource(
shortName: 'ScrapeChapter',
shortName: 'Scraping',
operations: [
new Post(
uriTemplate: '/scraping/chapters',

View File

@@ -10,7 +10,7 @@ use ApiPlatform\Metadata\Link;
use App\Domain\Scraping\Domain\Model\ScrapingJob;
#[ApiResource(
shortName: 'ScrapingStatus',
shortName: 'Scraping',
operations: [
new Get(
uriTemplate: '/scraping/jobs/{jobId}/status',