Skip to content

Commit e337596

Browse files
authored
Merge pull request #53 from RonasIT/dpankratov/fix-annotations-bug
fix: fixed calling undefined getClassAnnotations method;
2 parents 94e4242 + 7fd792f commit e337596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/SwaggerService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ protected function getResponseDescription($code)
562562
return $defaultDescription;
563563
}
564564

565-
$annotations = $this->getClassAnnotations($request);
565+
$annotations = $this->annotationReader->getClassAnnotations($request);
566566

567567
$localDescription = Arr::get($annotations, "_{$code}");
568568

0 commit comments

Comments
 (0)