@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | 'prefix' => $apieConfig['api-url'], |
| 14 | 14 | 'middleware' => $apieConfig['swagger-ui-test-page-middleware'] |
| 15 | 15 | ], |
| 16 | - function () { |
|
| 16 | + function() { |
|
| 17 | 17 | Route::get('/doc.json', DocsController::class)->name('apie.docs'); |
| 18 | 18 | } |
| 19 | 19 | ); |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | 'prefix' => $apieConfig['api-url'], |
| 24 | 24 | 'middleware' => $apieConfig['apie-middleware'] |
| 25 | 25 | ], |
| 26 | - function () { |
|
| 26 | + function() { |
|
| 27 | 27 | Route::post('/{resource}/', PostController::class)->name('apie.post'); |
| 28 | 28 | Route::put('/{resource}/{id}', PutController::class)->name('apie.put'); |
| 29 | 29 | Route::get('/{resource}/', GetAllController::class)->name('apie.all'); |