diff --git a/src/Controller/ApiLexiconController.php b/src/Controller/ApiLexiconController.php index 68f411035d93623d0a9413060fb1cb8c8413a7e7..5c0759b766c4c84764a95aadc6deaab634e1a0ad 100644 --- a/src/Controller/ApiLexiconController.php +++ b/src/Controller/ApiLexiconController.php @@ -130,10 +130,10 @@ class ApiLexiconController extends ApiBaseController } /** - * Récupère un nombre n de graphies d’un lexique + * Récupère un nombre n de graphies d’un lexique. Retourne toutes les graphies si n = 0 * * @Route("/extract/{nb}", name="api_lexicon_extract_graphies", methods={"GET"}, requirements={"id" = "\d+"}) - * @OA\Parameter(name="nb", in="path", description="nb de graphies retournées", @OA\Schema(type="integer")) + * @OA\Parameter(name="nb", in="path", description="nb de graphies retournées. Toutes si nb = zéro.", @OA\Schema(type="integer")) * @OA\Parameter(name="lexiconId", in="query", required=true, description="id du lexique dans lequel chercher", @OA\Schema(type="string")) * * @OA\Response(response=200, description="success", @OA\JsonContent(type="string"))