mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
add functional test for docblock model describer
This commit is contained in:
parent
373516387f
commit
66872da552
@ -89,6 +89,11 @@ class JMSUser
|
|||||||
private $bestFriend;
|
private $bestFriend;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Whether this user is enabled or disabled.
|
||||||
|
*
|
||||||
|
* Only enabled users may be used in actions.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
* @Serializer\Type("string")
|
* @Serializer\Type("string")
|
||||||
* @Serializer\Expose
|
* @Serializer\Expose
|
||||||
*
|
*
|
||||||
|
@ -55,6 +55,8 @@ class JMSFunctionalTest extends WebTestCase
|
|||||||
],
|
],
|
||||||
'status' => [
|
'status' => [
|
||||||
'type' => 'string',
|
'type' => 'string',
|
||||||
|
'title' => 'Whether this user is enabled or disabled.',
|
||||||
|
'description' => 'Only enabled users may be used in actions.',
|
||||||
'enum' => ['disabled', 'enabled'],
|
'enum' => ['disabled', 'enabled'],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user