Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class ApiInfo implements MiddlewareInterface |
||
18 | { |
||
19 | private DataResponseFactoryInterface $responseFactory; |
||
20 | |||
21 | public function __construct(DataResponseFactoryInterface $responseFactory) |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @OA\Get( |
||
28 | * path="/api/info/v2", |
||
29 | * @OA\Response(response="200", description="Get api version") |
||
30 | * ) |
||
31 | */ |
||
32 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
37 |