diff --git a/public/api-docs.json b/public/api-docs.json index 5865ec5..f2b8094 100644 --- a/public/api-docs.json +++ b/public/api-docs.json @@ -215,19 +215,34 @@ { "name": "status", "in": "query", - "description": "Filtrer par status", + "description": "Filtrer par status (s\u00e9par\u00e9s par des virgules pour plusieurs statuts, ex: \"pending,in_progress\" ou sous forme de tableau avec \"status[]=\")", "required": false, "deprecated": false, "allowEmptyValue": false, "schema": { - "type": "string", - "enum": [ - "pending", - "in_progress", - "completed", - "failed" - ], - "example": "pending" + "oneOf": [ + { + "type": "string", + "example": "pending,in_progress" + }, + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "pending", + "in_progress", + "completed", + "failed", + "cancelled" + ] + }, + "example": [ + "pending", + "in_progress" + ] + } + ] }, "style": "form", "explode": false, @@ -1668,14 +1683,7 @@ }, "status": { "description": "Status du job", - "type": "string", - "enum": [ - "pending", - "in_progress", - "completed", - "failed", - "cancelled" - ] + "type": "string" }, "createdAt": { "description": "Date de cr\u00e9ation du job", @@ -1758,14 +1766,7 @@ }, "status": { "description": "Status du job", - "type": "string", - "enum": [ - "pending", - "in_progress", - "completed", - "failed", - "cancelled" - ] + "type": "string" }, "createdAt": { "description": "Date de cr\u00e9ation du job", @@ -1842,14 +1843,7 @@ }, "status": { "description": "Status du job", - "type": "string", - "enum": [ - "pending", - "in_progress", - "completed", - "failed", - "cancelled" - ] + "type": "string" }, "createdAt": { "description": "Date de cr\u00e9ation du job", @@ -3352,21 +3346,11 @@ "description": "", "deprecated": false, "required": [ - "mangaId", - "chapterNumber", - "sourceId" + "chapterId" ], "properties": { - "mangaId": { - "description": "ID du manga", - "type": "string" - }, - "chapterNumber": { - "description": "Num\u00e9ro du chapitre", - "type": "string" - }, - "sourceId": { - "description": "ID de la source", + "chapterId": { + "description": "ID du chapitre \u00e0 scraper", "type": "string" } } @@ -3376,9 +3360,7 @@ "description": "", "deprecated": false, "required": [ - "mangaId", - "chapterNumber", - "sourceId" + "chapterId" ], "properties": { "_links": { @@ -3395,16 +3377,8 @@ } } }, - "mangaId": { - "description": "ID du manga", - "type": "string" - }, - "chapterNumber": { - "description": "Num\u00e9ro du chapitre", - "type": "string" - }, - "sourceId": { - "description": "ID de la source", + "chapterId": { + "description": "ID du chapitre \u00e0 scraper", "type": "string" } } @@ -3414,9 +3388,7 @@ "description": "", "deprecated": false, "required": [ - "mangaId", - "chapterNumber", - "sourceId" + "chapterId" ], "properties": { "@context": { @@ -3454,16 +3426,8 @@ "readOnly": true, "type": "string" }, - "mangaId": { - "description": "ID du manga", - "type": "string" - }, - "chapterNumber": { - "description": "Num\u00e9ro du chapitre", - "type": "string" - }, - "sourceId": { - "description": "ID de la source", + "chapterId": { + "description": "ID du chapitre \u00e0 scraper", "type": "string" } }