forked from loafle/openapi-generator-original
18 lines
614 B
PHP
18 lines
614 B
PHP
<?php
|
|
require_once __DIR__ . '/vendor/autoload.php';
|
|
|
|
use Symfony\Component\HttpFoundation\Request;
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
use Silex\Application;
|
|
|
|
$app = new Silex\Application();
|
|
|
|
|
|
$app->PUT('/v2 *_/ ' \" =end -- \\r\\n \\n \\r/fake', function(Application $app, Request $request) {
|
|
$test code inject */ ' " =end __ \r\n \n \r = $request->get('test code inject */ ' " =end __ \r\n \n \r');
|
|
return new Response('How about implementing testCodeInject */ ' " =end \r\n \n \r as a PUT method ?');
|
|
});
|
|
|
|
|
|
$app->run();
|