From da3d3f0227e0fc862a28b237fa774e017b323dde Mon Sep 17 00:00:00 2001 From: Martin Eiber Date: Mon, 2 Dec 2024 08:40:43 +0100 Subject: [PATCH] Fix schema --- src/Class/Controller/ObjectBrick/LayoutController.php | 2 +- src/Class/Schema/FieldCollection/LayoutDefinition.php | 1 + src/Class/Schema/ObjectBrick/LayoutDefinition.php | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Class/Controller/ObjectBrick/LayoutController.php b/src/Class/Controller/ObjectBrick/LayoutController.php index 65a612e1..eb210515 100644 --- a/src/Class/Controller/ObjectBrick/LayoutController.php +++ b/src/Class/Controller/ObjectBrick/LayoutController.php @@ -18,7 +18,7 @@ use Exception; use OpenApi\Attributes\Get; -use Pimcore\Bundle\StudioBackendBundle\Class\Schema\FieldCollection\LayoutDefinition; +use Pimcore\Bundle\StudioBackendBundle\Class\Schema\ObjectBrick\LayoutDefinition; use Pimcore\Bundle\StudioBackendBundle\Class\Service\ObjectBrick\LayoutDefinitionServiceInterface; use Pimcore\Bundle\StudioBackendBundle\Controller\AbstractApiController; use Pimcore\Bundle\StudioBackendBundle\Exception\Api\NotFoundException; diff --git a/src/Class/Schema/FieldCollection/LayoutDefinition.php b/src/Class/Schema/FieldCollection/LayoutDefinition.php index b25d6fce..d5db6feb 100644 --- a/src/Class/Schema/FieldCollection/LayoutDefinition.php +++ b/src/Class/Schema/FieldCollection/LayoutDefinition.php @@ -26,6 +26,7 @@ * @internal */ #[Schema( + schema: 'FieldCollectionLayoutDefinition', title: 'Field Collection Layout Definition', required: [ 'key', diff --git a/src/Class/Schema/ObjectBrick/LayoutDefinition.php b/src/Class/Schema/ObjectBrick/LayoutDefinition.php index 44166bf4..42b6a4ed 100644 --- a/src/Class/Schema/ObjectBrick/LayoutDefinition.php +++ b/src/Class/Schema/ObjectBrick/LayoutDefinition.php @@ -26,6 +26,7 @@ * @internal */ #[Schema( + schema: 'ObjectBrickLayoutDefinition', title: 'Object Brick Layout Definition', required: [ 'key',