|
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 | | - // 'name' => 'Authorization', |
103 | | - // 'type' => 'header', |
104 | | - // ] |
| 101 | + // 'api' => [ |
| 102 | + // 'name' => 'Authorization', |
| 103 | + // 'type' => 'header', |
| 104 | + // ], |
105 | 105 | // ], |
106 | 106 | // 'oauth' => [ |
107 | | - // 'enabled' => true, |
108 | | - // 'type' => 'oauth2', |
109 | | - // 'flow' => 'authorizationCode', |
110 | | - // 'tokenUrl' => '', |
111 | | - // 'authorizationUrl' =>'', |
112 | | - // 'refreshUrl' => '', |
113 | | - // 'scopes' => ['scope1' => 'Description scope 1'], |
114 | | - // '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, |
115 | 115 | // ], |
116 | 116 | // 'license' => [ |
117 | | - // 'name' => 'Apache 2.0', |
118 | | - // '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', |
119 | 119 | // ], |
120 | 120 | // 'contact' => [ |
121 | | - // 'name' => 'API Support', |
122 | | - // 'url' => 'https://www.example.com/support', |
123 | | - // 'email' => '[email protected]', |
| 121 | + // 'name' => 'API Support', |
| 122 | + // 'url' => 'https://www.example.com/support', |
| 123 | + // 'email' => '[email protected]', |
124 | 124 | // ], |
125 | 125 | // 'http_auth' => [ |
126 | | - // 'Personal Access Token' => [ |
127 | | - // 'scheme' => 'bearer', |
128 | | - // 'bearerFormat' => 'JWT' |
129 | | - // ] |
130 | | - // ] |
| 126 | + // 'Personal Access Token' => [ |
| 127 | + // 'scheme' => 'bearer', |
| 128 | + // 'bearerFormat' => 'JWT', |
| 129 | + // ], |
| 130 | + // ], |
131 | 131 | ], |
132 | 132 |
|
133 | 133 | // 'openapi' => [ |
134 | | - // 'tags' => [] |
| 134 | + // 'tags' => [], |
135 | 135 | // ], |
136 | 136 |
|
137 | 137 | 'url_generation_strategy' => UrlGeneratorInterface::ABS_PATH, |
138 | 138 |
|
139 | 139 | 'serializer' => [ |
140 | 140 | 'hydra_prefix' => false, |
141 | | - // 'datetime_format' => \DateTimeInterface::RFC3339 |
| 141 | + // 'datetime_format' => \DateTimeInterface::RFC3339, |
142 | 142 | ], |
143 | 143 |
|
144 | 144 | // we recommend using "file" or "acpu" |
|
160 | 160 | // 'request_options' => [], |
161 | 161 | // 'purger' => ApiPlatform\HttpCache\SouinPurger::class, |
162 | 162 | // ], |
163 | | - // ] |
| 163 | + // ], |
164 | 164 | ]; |
0 commit comments