mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
commit
3e98b9fe97
@ -38,7 +38,7 @@ final class DefaultDescriber implements DescriberInterface
|
||||
$operation = $path->getOperation($method);
|
||||
|
||||
// Default Response
|
||||
if (0 === count($operation->getResponses())) {
|
||||
if (0 === iterator_count($operation->getResponses())) {
|
||||
$defaultResponse = $operation->getResponses()->get('default');
|
||||
$defaultResponse->setDescription('');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user