File tree 2 files changed +15
-1
lines changed
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -744,6 +744,11 @@ public function register(): void
744
744
oAuthRefreshUrl: $ config ->get ('api-platform.swagger_ui.oauth.refreshUrl ' , null ),
745
745
oAuthScopes: $ config ->get ('api-platform.swagger_ui.oauth.scopes ' , []),
746
746
apiKeys: $ config ->get ('api-platform.swagger_ui.apiKeys ' , []),
747
+ contactName: $ config ->get ('api-platform.swagger_ui.contact.name ' , '' ),
748
+ contactUrl: $ config ->get ('api-platform.swagger_ui.contact.url ' , '' ),
749
+ contactEmail: $ config ->get ('api-platform.swagger_ui.contact.email ' , '' ),
750
+ licenseName: $ config ->get ('api-platform.swagger_ui.license.name ' , '' ),
751
+ licenseUrl: $ config ->get ('api-platform.swagger_ui.license.url ' , '' ),
747
752
);
748
753
});
749
754
Original file line number Diff line number Diff line change 87
87
// 'refreshUrl' => '',
88
88
// 'scopes' => ['scope1' => 'Description scope 1'],
89
89
// 'pkce' => true
90
- //]
90
+ //],
91
+ //'license' => [
92
+ // 'name' => 'Apache 2.0',
93
+ // 'url' => 'https://www.apache.org/licenses/LICENSE-2.0.html',
94
+ //],
95
+ //'contact' => [
96
+ // 'name' => 'API Support',
97
+ // 'url' => 'https://www.example.com/support',
98
+ // 'email' => 'support@example.com',
99
+ //],
91
100
],
92
101
93
102
'url_generation_strategy ' => UrlGeneratorInterface::ABS_PATH ,
You can’t perform that action at this time.
0 commit comments