@@ -9,10 +9,8 @@ |
||
9 | 9 | use Symfony\Component\HttpFoundation\Request; |
10 | 10 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
11 | 11 | use Nelmio\ApiDocBundle\Annotation\Model; |
12 | -use Nelmio\ApiDocBundle\Annotation\Security; |
|
13 | 12 | use Swagger\Annotations as SWG; |
14 | 13 | use Symfony\Component\Routing\Annotation\Route; |
15 | -use App\Form\RegistrationForm; |
|
16 | 14 | use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface; |
17 | 15 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
18 | 16 | use FOS\RestBundle\View\ViewHandler; |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
10 | 10 | use Symfony\Component\Security\Core\User\UserInterface; |
11 | 11 | use JMS\Serializer\Annotation\Exclude; |
12 | -use JMS\Serializer\Annotation\Expose; |
|
13 | 12 | |
14 | 13 | /** |
15 | 14 | * @ORM\Entity(repositoryClass="App\Repository\UserRepository") |