mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
Fix @OA\JsonContent
usage in the docs
This commit is contained in:
parent
9de23eb4a5
commit
a82a1c1416
@ -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…
x
Reference in New Issue
Block a user