|
25 | 25 | 'routes' => [
|
26 | 26 | 'domain' => null,
|
27 | 27 | // Global middleware applied to every API Platform routes
|
28 |
| - // 'middleware' => [] |
| 28 | + // 'middleware' => [], |
29 | 29 | ],
|
30 | 30 |
|
31 | 31 | 'resources' => [
|
|
78 | 78 | 'introspection' => ['enabled' => true],
|
79 | 79 | 'max_query_complexity' => 500,
|
80 | 80 | 'max_query_depth' => 200,
|
81 |
| - // 'middleware' => null |
| 81 | + // 'middleware' => null, |
82 | 82 | ],
|
83 | 83 |
|
84 | 84 | 'graphiql' => [
|
85 | 85 | // 'enabled' => true,
|
86 | 86 | // 'domain' => null,
|
87 |
| - // 'middleware' => null |
| 87 | + // 'middleware' => null, |
88 | 88 | ],
|
89 | 89 |
|
90 | 90 | // set to null if you want to keep snake_case
|
|
98 | 98 | 'swagger_ui' => [
|
99 | 99 | 'enabled' => true,
|
100 | 100 | // 'apiKeys' => [
|
101 |
| - // 'api' => [ |
102 |
| - // 'type' => 'Bearer', |
103 |
| - // 'name' => 'Authentication Token', |
104 |
| - // 'in' => 'header' |
105 |
| - // ] |
| 101 | + // 'api' => [ |
| 102 | + // 'name' => 'Authorization', |
| 103 | + // 'type' => 'header', |
| 104 | + // ], |
106 | 105 | // ],
|
107 | 106 | // 'oauth' => [
|
108 |
| - // 'enabled' => true, |
109 |
| - // 'type' => 'oauth2', |
110 |
| - // 'flow' => 'authorizationCode', |
111 |
| - // 'tokenUrl' => '', |
112 |
| - // 'authorizationUrl' =>'', |
113 |
| - // 'refreshUrl' => '', |
114 |
| - // 'scopes' => ['scope1' => 'Description scope 1'], |
115 |
| - // 'pkce' => true |
| 107 | + // 'enabled' => true, |
| 108 | + // 'type' => 'oauth2', |
| 109 | + // 'flow' => 'authorizationCode', |
| 110 | + // 'tokenUrl' => '', |
| 111 | + // 'authorizationUrl' =>'', |
| 112 | + // 'refreshUrl' => '', |
| 113 | + // 'scopes' => ['scope1' => 'Description scope 1'], |
| 114 | + // 'pkce' => true, |
116 | 115 | // ],
|
117 | 116 | // 'license' => [
|
118 |
| - // 'name' => 'Apache 2.0', |
119 |
| - // 'url' => 'https://www.apache.org/licenses/LICENSE-2.0.html', |
| 117 | + // 'name' => 'Apache 2.0', |
| 118 | + // 'url' => 'https://www.apache.org/licenses/LICENSE-2.0.html', |
120 | 119 | // ],
|
121 | 120 | // 'contact' => [
|
122 |
| - // 'name' => 'API Support', |
123 |
| - // 'url' => 'https://www.example.com/support', |
124 |
| - // 'email' => '[email protected]', |
| 121 | + // 'name' => 'API Support', |
| 122 | + // 'url' => 'https://www.example.com/support', |
| 123 | + // 'email' => '[email protected]', |
125 | 124 | // ],
|
126 | 125 | // 'http_auth' => [
|
127 |
| - // 'Personal Access Token' => [ |
128 |
| - // 'scheme' => 'bearer', |
129 |
| - // 'bearerFormat' => 'JWT' |
130 |
| - // ] |
131 |
| - // ] |
| 126 | + // 'Personal Access Token' => [ |
| 127 | + // 'scheme' => 'bearer', |
| 128 | + // 'bearerFormat' => 'JWT', |
| 129 | + // ], |
| 130 | + // ], |
132 | 131 | ],
|
133 | 132 |
|
134 | 133 | // 'openapi' => [
|
135 |
| - // 'tags' => [] |
| 134 | + // 'tags' => [], |
136 | 135 | // ],
|
137 | 136 |
|
138 | 137 | 'url_generation_strategy' => UrlGeneratorInterface::ABS_PATH,
|
139 | 138 |
|
140 | 139 | 'serializer' => [
|
141 | 140 | 'hydra_prefix' => false,
|
142 |
| - // 'datetime_format' => \DateTimeInterface::RFC3339 |
| 141 | + // 'datetime_format' => \DateTimeInterface::RFC3339, |
143 | 142 | ],
|
144 | 143 |
|
145 | 144 | // we recommend using "file" or "acpu"
|
|
161 | 160 | // 'request_options' => [],
|
162 | 161 | // 'purger' => ApiPlatform\HttpCache\SouinPurger::class,
|
163 | 162 | // ],
|
164 |
| - // ] |
| 163 | + // ], |
165 | 164 | ];
|
0 commit comments