mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
Test fixes.
This commit is contained in:
parent
a8221d4515
commit
07c6557fc5
@ -762,6 +762,14 @@ related:
|
|||||||
|
|
||||||
* type: object (Test)
|
* type: object (Test)
|
||||||
|
|
||||||
|
related[a]:
|
||||||
|
|
||||||
|
* type: string
|
||||||
|
|
||||||
|
related[b]:
|
||||||
|
|
||||||
|
* type: DateTime
|
||||||
|
|
||||||
|
|
||||||
### `ANY` /z-return-selected-parsers-input ###
|
### `ANY` /z-return-selected-parsers-input ###
|
||||||
|
|
||||||
@ -819,6 +827,14 @@ number:
|
|||||||
related:
|
related:
|
||||||
|
|
||||||
* type: object (Test)
|
* type: object (Test)
|
||||||
|
|
||||||
|
related[a]:
|
||||||
|
|
||||||
|
* type: string
|
||||||
|
|
||||||
|
related[b]:
|
||||||
|
|
||||||
|
* type: DateTime
|
||||||
MARKDOWN;
|
MARKDOWN;
|
||||||
|
|
||||||
$this->assertEquals($expected, $result);
|
$this->assertEquals($expected, $result);
|
||||||
|
@ -1080,7 +1080,25 @@ With multiple lines.',
|
|||||||
'description' => '',
|
'description' => '',
|
||||||
'sinceVersion' => null,
|
'sinceVersion' => null,
|
||||||
'untilVersion' => null,
|
'untilVersion' => null,
|
||||||
'children' => array(),
|
'children' => array(
|
||||||
|
'a' => array(
|
||||||
|
'dataType' => 'string',
|
||||||
|
'actualType' => DataTypes::STRING,
|
||||||
|
'subType' => null,
|
||||||
|
'default' => 'nelmio',
|
||||||
|
'format' => '{length: min: foo}, {not blank}',
|
||||||
|
'required' => true,
|
||||||
|
'readonly' => null
|
||||||
|
),
|
||||||
|
'b' => array(
|
||||||
|
'dataType' => 'DateTime',
|
||||||
|
'actualType' => DataTypes::DATETIME,
|
||||||
|
'subType' => null,
|
||||||
|
'default' => null,
|
||||||
|
'required' => null,
|
||||||
|
'readonly' => null
|
||||||
|
)
|
||||||
|
),
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'authenticationRoles' => array(),
|
'authenticationRoles' => array(),
|
||||||
@ -1197,7 +1215,25 @@ With multiple lines.',
|
|||||||
'description' => '',
|
'description' => '',
|
||||||
'sinceVersion' => null,
|
'sinceVersion' => null,
|
||||||
'untilVersion' => null,
|
'untilVersion' => null,
|
||||||
'children' => array(),
|
'children' => array(
|
||||||
|
'a' => array(
|
||||||
|
'dataType' => 'string',
|
||||||
|
'actualType' => DataTypes::STRING,
|
||||||
|
'subType' => null,
|
||||||
|
'default' => 'nelmio',
|
||||||
|
'format' => '{length: min: foo}, {not blank}',
|
||||||
|
'required' => true,
|
||||||
|
'readonly' => null
|
||||||
|
),
|
||||||
|
'b' => array(
|
||||||
|
'dataType' => 'DateTime',
|
||||||
|
'actualType' => DataTypes::DATETIME,
|
||||||
|
'subType' => null,
|
||||||
|
'default' => null,
|
||||||
|
'required' => null,
|
||||||
|
'readonly' => null
|
||||||
|
)
|
||||||
|
),
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'authenticationRoles' => array(),
|
'authenticationRoles' => array(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user