File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 54
54
// open api config
55
55
// used to generate open api json
56
56
'open_api ' => [
57
+ 'title ' => 'Laravel Request Docs ' ,
58
+ 'description ' => 'Laravel Request Docs ' ,
57
59
// default version that this library provides
58
60
'version ' => '3.0.0 ' ,
59
61
// changeable
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ public function openApi(array $docs): LaravelRequestDocsToOpenApi
14
14
{
15
15
$ this ->openApi ['openapi ' ] = config ('request-docs.open_api.version ' , '3.0.0 ' );
16
16
$ this ->openApi ['info ' ]['version ' ] = config ('request-docs.open_api.document_version ' , '1.0.0 ' );
17
- $ this ->openApi ['info ' ]['title ' ] = " Laravel Request Docs " ;
18
- $ this ->openApi ['info ' ]['description ' ] = " Laravel Request Docs " ;
17
+ $ this ->openApi ['info ' ]['title ' ] = config ( ' request-docs.open_api.title ' , ' Laravel Request Docs ' ) ;
18
+ $ this ->openApi ['info ' ]['description ' ] = config ( ' request-docs.open_api.description ' , ' Laravel Request Docs ' ) ;
19
19
$ this ->openApi ['info ' ]['license ' ]['name ' ] = config ('request-docs.open_api.license ' , 'Apache 2.0 ' );
20
20
$ this ->openApi ['info ' ]['license ' ]['url ' ] = config ('request-docs.open_api.license_url ' , 'https://www.apache.org/licenses/LICENSE-2.0.html ' );
21
21
$ this ->openApi ['servers ' ][] = [
You can’t perform that action at this time.
0 commit comments