FIX [obsolete] remove obsolete code since thirdparty entity will be removed

This commit is contained in:
Julie Lenaerts 2023-02-22 17:58:26 +01:00 committed by Julien Fastré
parent e982e81900
commit 11e7f2179c
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
3 changed files with 0 additions and 30 deletions

View File

@ -151,21 +151,6 @@ class ChillThirdPartyExtension extends Extension implements PrependExtensionInte
], ],
], ],
], ],
[
'class' => \Chill\ThirdPartyBundle\Entity\ThirdPartyProfession::class,
// 'controller' => \Chill\MainBundle\Controller\ProfessionApiController::class,
'name' => 'profession',
'base_path' => '/api/1.0/thirdparty/professions',
'base_role' => 'ROLE_USER',
'actions' => [
'_index' => [
'methods' => [
Request::METHOD_GET => true,
Request::METHOD_HEAD => true,
],
],
],
],
], ],
]); ]);
} }

View File

@ -112,14 +112,3 @@ paths:
description: "OK" description: "OK"
422: 422:
description: "Object with validation errors" description: "Object with validation errors"
/1.0/thirdparty/professions.json:
get:
tags:
- thirdparty
summary: Return all thirdparty professions
responses:
200:
description: "ok"
401:
description: "Unauthorized"

View File

@ -7,7 +7,3 @@ services:
Chill\ThirdPartyBundle\DataFixtures\ORM\LoadThirdPartyCategory: Chill\ThirdPartyBundle\DataFixtures\ORM\LoadThirdPartyCategory:
tags: tags:
- { 'name': doctrine.fixture.orm } - { 'name': doctrine.fixture.orm }
Chill\ThirdPartyBundle\DataFixtures\ORM\LoadThirdPartyProfession:
tags:
- { 'name': doctrine.fixture.orm }