mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-10 03:29:25 +03:00
Merge '3.x'
This commit is contained in:
commit
9de23eb4a5
@ -45,4 +45,14 @@ class JMSComplex
|
|||||||
* @Serializer\Groups({"list"})
|
* @Serializer\Groups({"list"})
|
||||||
*/
|
*/
|
||||||
private $name;
|
private $name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Serializer\VirtualProperty
|
||||||
|
* @Serializer\Expose
|
||||||
|
* @Serializer\Groups({"list"})
|
||||||
|
* @OA\Property(ref=@Model(type=JMSUser::class))
|
||||||
|
*/
|
||||||
|
public function getVirtualFriend()
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -277,6 +277,7 @@ class JMSFunctionalTest extends WebTestCase
|
|||||||
'user' => ['$ref' => '#/components/schemas/JMSUser'],
|
'user' => ['$ref' => '#/components/schemas/JMSUser'],
|
||||||
'name' => ['type' => 'string'],
|
'name' => ['type' => 'string'],
|
||||||
'virtual' => ['$ref' => '#/components/schemas/JMSUser'],
|
'virtual' => ['$ref' => '#/components/schemas/JMSUser'],
|
||||||
|
'virtual_friend' => ['$ref' => '#/components/schemas/JMSUser'],
|
||||||
],
|
],
|
||||||
'required' => [
|
'required' => [
|
||||||
'id',
|
'id',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user