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 5454 // open api config
5555 // used to generate open api json
5656 'open_api ' => [
57+ 'title ' => 'Laravel Request Docs ' ,
58+ 'description ' => 'Laravel Request Docs ' ,
5759 // default version that this library provides
5860 'version ' => '3.0.0 ' ,
5961 // changeable
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ public function openApi(array $docs): LaravelRequestDocsToOpenApi
1414 {
1515 $ this ->openApi ['openapi ' ] = config ('request-docs.open_api.version ' , '3.0.0 ' );
1616 $ 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 ' ) ;
1919 $ this ->openApi ['info ' ]['license ' ]['name ' ] = config ('request-docs.open_api.license ' , 'Apache 2.0 ' );
2020 $ this ->openApi ['info ' ]['license ' ]['url ' ] = config ('request-docs.open_api.license_url ' , 'https://www.apache.org/licenses/LICENSE-2.0.html ' );
2121 $ this ->openApi ['servers ' ][] = [
You can’t perform that action at this time.
0 commit comments