mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-01 21:06:15 +03:00
Fix @OA\JsonContent
usage in the docs
This commit is contained in:
parent
9de23eb4a5
commit
a82a1c1416
1 changed files with 2 additions and 4 deletions
|
@ -153,10 +153,8 @@ To document your routes, you can use the SwaggerPHP annotations and the
|
|||
* response=200,
|
||||
* description="Returns the rewards of an user",
|
||||
* @OA\JsonContent(
|
||||
* @OA\Schema(
|
||||
* type="array",
|
||||
* @OA\Items(ref=@Model(type=Reward::class, groups={"full"}))
|
||||
* )
|
||||
* type="array",
|
||||
* @OA\Items(ref=@Model(type=Reward::class, groups={"full"}))
|
||||
* )
|
||||
* )
|
||||
* @OA\Parameter(
|
||||
|
|
Loading…
Add table
Reference in a new issue