mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
fix missing previous recursive call
This commit is contained in:
parent
0fb5d7afa2
commit
fd7b5e1679
@ -165,7 +165,7 @@ class JMSModelDescriber implements ModelDescriberInterface, ModelRegistryAwareIn
|
|||||||
}
|
}
|
||||||
|
|
||||||
$property->setType('array');
|
$property->setType('array');
|
||||||
$this->describeItem($nestedType, $property->getItems(), $groups);
|
$this->describeItem($nestedType, $property->getItems(), $groups, $previousGroups);
|
||||||
} elseif ('array' === $type['name']) {
|
} elseif ('array' === $type['name']) {
|
||||||
$property->setType('object');
|
$property->setType('object');
|
||||||
$property->merge(['additionalProperties' => []]);
|
$property->merge(['additionalProperties' => []]);
|
||||||
|
@ -48,7 +48,7 @@ class JMSFunctionalTest extends WebTestCase
|
|||||||
'type' => 'object',
|
'type' => 'object',
|
||||||
'properties' => [
|
'properties' => [
|
||||||
'picture' => [
|
'picture' => [
|
||||||
'$ref' => '#/definitions/JMSPicture',
|
'$ref' => '#/definitions/JMSPicture2',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
], $this->getModel('JMSChatUser')->toArray());
|
], $this->getModel('JMSChatUser')->toArray());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user