diff --git a/src/LaravelRequestDocsToOpenApi.php b/src/LaravelRequestDocsToOpenApi.php index bd9d224..46c1675 100644 --- a/src/LaravelRequestDocsToOpenApi.php +++ b/src/LaravelRequestDocsToOpenApi.php @@ -53,7 +53,7 @@ private function docsToOpenApi(array $docs): void $this->openApi['paths'][$uriLeadingSlash][$httpMethod]['summary'] = $doc->getSummary(); $this->openApi['paths'][$uriLeadingSlash][$httpMethod]['description'] = $doc->getDescription() ?: $doc->getDocBlock(); - $this->openApi['paths'][$uriLeadingSlash][$httpMethod]['tags'] = [$doc->getTag()]; + $this->openApi['paths'][$uriLeadingSlash][$httpMethod]['tags'] = [$doc->getTag()]; $this->openApi['paths'][$uriLeadingSlash][$httpMethod]['parameters'] = []; foreach ($doc->getPathParameters() as $parameter => $rule) {