From 5b6f128bd0b14246a87ad98c0d8a8f66a902eda4 Mon Sep 17 00:00:00 2001 From: Guilhem Niot Date: Wed, 26 Aug 2020 22:30:16 +0200 Subject: [PATCH] Update `@OA\Parameter` usage example (#1706) --- Resources/doc/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/doc/index.rst b/Resources/doc/index.rst index 518fa2f..7131d95 100644 --- a/Resources/doc/index.rst +++ b/Resources/doc/index.rst @@ -160,8 +160,8 @@ To document your routes, you can use the SwaggerPHP annotations and the * @OA\Parameter( * name="order", * in="query", - * type="string", - * description="The field used to order rewards" + * description="The field used to order rewards", + * @OA\Schema(type="string") * ) * @OA\Tag(name="rewards") * @Security(name="Bearer")