Skip to content

Commit cff8b81

Browse files
committed
fix header
1 parent 1197245 commit cff8b81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Oxycoder/ApiDoc/Commands/GenerateDocumentation.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@ private function processLaravelRoutes(AbstractGenerator $generator, $allowedRout
261261
$headers = $this->option('header');
262262
if (empty($headers)) {
263263
$headers = [
264-
'content-type' => 'application/json'
264+
'Content-Type' => 'application/json',
265+
'Accept' => 'application/json'
265266
];
266267
}
267268
foreach ($routes as $route) {

0 commit comments

Comments
 (0)