Skip to content

Commit 11c2c1b

Browse files
authored
Apply suggestions from code review
1 parent a997c5d commit 11c2c1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Services/SwaggerService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ public function getDocFileContent()
832832

833833
$this->openAPIValidator->validate($documentation);
834834
} catch (Exception $exception) {
835-
return $this->generateEmptyData($this->config['defaults']['error'], ['message' => $exception->getMessage()]);
835+
return $this->generateEmptyData($this->config['defaults']['error'], ['message' => $exception->getMessage()]);
836836
}
837837

838838
$additionalDocs = config('auto-doc.additional_paths', []);
@@ -974,7 +974,7 @@ protected function prepareInfo(?string $view = null, array $viewData = [], array
974974
$info['description'] = view($view, $viewData)->render();
975975
}
976976

977-
return array_merge(Arr::except($this->config['info'], ['description', 'license']), $info);
977+
return array_merge($this->config['info'], $info);
978978
}
979979

980980
protected function getOpenAPIFileContent(string $filePath): array

0 commit comments

Comments
 (0)