|
7 | 7 | use App\DataTransferObject\ApiVersion; |
8 | 8 | use App\DataTransferObject\DomJudgeApiInfo; |
9 | 9 | use App\DataTransferObject\ExtendedContestStatus; |
10 | | -use App\Entity\Contest; |
11 | 10 | use App\Entity\User; |
12 | 11 | use App\Service\CheckConfigService; |
13 | 12 | use App\Service\ConfigurationService; |
|
17 | 16 | use Doctrine\ORM\EntityManagerInterface; |
18 | 17 | use Doctrine\ORM\NonUniqueResultException; |
19 | 18 | use Doctrine\ORM\NoResultException; |
20 | | -use Exception; |
21 | 19 | use FOS\RestBundle\Controller\AbstractFOSRestController; |
22 | 20 | use FOS\RestBundle\Controller\Annotations as Rest; |
23 | 21 | use InvalidArgumentException; |
24 | 22 | use JMS\Serializer\SerializerInterface; |
25 | 23 | use Nelmio\ApiDocBundle\Annotation\Model; |
26 | 24 | use OpenApi\Attributes as OA; |
27 | 25 | use Psr\Log\LoggerInterface; |
28 | | -use Symfony\Component\HttpKernel\Attribute\MapQueryParameter; |
29 | | -use Symfony\Component\Security\Http\Attribute\IsGranted; |
30 | 26 | use Symfony\Component\HttpFoundation\JsonResponse; |
31 | 27 | use Symfony\Component\HttpFoundation\Request; |
32 | 28 | use Symfony\Component\HttpFoundation\Response; |
| 29 | +use Symfony\Component\HttpKernel\Attribute\MapQueryParameter; |
33 | 30 | use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
34 | 31 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
35 | 32 | use Symfony\Component\Intl\Countries; |
36 | 33 | use Symfony\Component\Routing\RouterInterface; |
| 34 | +use Symfony\Component\Security\Http\Attribute\IsGranted; |
37 | 35 |
|
38 | 36 | #[OA\Tag(name: 'General')] |
39 | 37 | #[OA\Parameter(ref: '#/components/parameters/strict')] |
|
0 commit comments