diff --git a/src/Bundle/ChillThirdPartyBundle/DependencyInjection/ChillThirdPartyExtension.php b/src/Bundle/ChillThirdPartyBundle/DependencyInjection/ChillThirdPartyExtension.php index 76742951b..3c870449c 100644 --- a/src/Bundle/ChillThirdPartyBundle/DependencyInjection/ChillThirdPartyExtension.php +++ b/src/Bundle/ChillThirdPartyBundle/DependencyInjection/ChillThirdPartyExtension.php @@ -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, - ], - ], - ], - ], ], ]); } diff --git a/src/Bundle/ChillThirdPartyBundle/chill.api.specs.yaml b/src/Bundle/ChillThirdPartyBundle/chill.api.specs.yaml index 035185181..5477075e0 100644 --- a/src/Bundle/ChillThirdPartyBundle/chill.api.specs.yaml +++ b/src/Bundle/ChillThirdPartyBundle/chill.api.specs.yaml @@ -112,14 +112,3 @@ paths: description: "OK" 422: 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" diff --git a/src/Bundle/ChillThirdPartyBundle/config/services/fixtures.yaml b/src/Bundle/ChillThirdPartyBundle/config/services/fixtures.yaml index 40f663e6d..063188be9 100644 --- a/src/Bundle/ChillThirdPartyBundle/config/services/fixtures.yaml +++ b/src/Bundle/ChillThirdPartyBundle/config/services/fixtures.yaml @@ -7,7 +7,3 @@ services: Chill\ThirdPartyBundle\DataFixtures\ORM\LoadThirdPartyCategory: tags: - { 'name': doctrine.fixture.orm } - - Chill\ThirdPartyBundle\DataFixtures\ORM\LoadThirdPartyProfession: - tags: - - { 'name': doctrine.fixture.orm }