Patch API
continuous-integration/drone/push Build is failing Details

pull/138/head
Hugo LIVET 2 years ago
parent c05615cf79
commit add061d7b4

@ -14,10 +14,6 @@ $app->get('/', function (Request $request, Response $response, $args) {
return $response; return $response;
}); });
$app->get('/Inscrit/', function(Request $request, Response $response, $args){
print('TEEEEST');
});
require __DIR__.'/../routes/Inscrit.php'; require __DIR__.'/../routes/Inscrit.php';
require __DIR__.'/../routes/Banque.php'; require __DIR__.'/../routes/Banque.php';

@ -8,8 +8,6 @@ use OpenApi\Annotations as OA;
* @OA\Info(title="My First API", version="0.1") * @OA\Info(title="My First API", version="0.1")
*/ */
$app = AppFactory::create();
$app->addBodyParsingMiddleware(); $app->addBodyParsingMiddleware();
$app->addRoutingMiddleware(); $app->addRoutingMiddleware();
$app->addErrorMiddleware(true, true, true); $app->addErrorMiddleware(true, true, true);

@ -8,8 +8,6 @@ use OpenApi\Annotations as OA;
* @OA\Info(title="My First API", version="0.1") * @OA\Info(title="My First API", version="0.1")
*/ */
$app = AppFactory::create();
$app->addBodyParsingMiddleware(); $app->addBodyParsingMiddleware();
$app->addRoutingMiddleware(); $app->addRoutingMiddleware();
$app->addErrorMiddleware(true, true, true); $app->addErrorMiddleware(true, true, true);

Loading…
Cancel
Save