From b53356f12140fb31c2e5e264eae49b006e8faa4b Mon Sep 17 00:00:00 2001 From: Churbanov Valery Date: Sat, 17 Jan 2026 18:40:53 +0300 Subject: [PATCH] Fix duplicate OpenAPI Attachment schemas --- .../HttpDumps/Interfaces/Http/Resources/AttachmentResource.php | 2 +- .../Smtp/Interfaces/Http/Resources/AttachmentResource.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/modules/HttpDumps/Interfaces/Http/Resources/AttachmentResource.php b/app/modules/HttpDumps/Interfaces/Http/Resources/AttachmentResource.php index 67176cdc..8bf3003d 100644 --- a/app/modules/HttpDumps/Interfaces/Http/Resources/AttachmentResource.php +++ b/app/modules/HttpDumps/Interfaces/Http/Resources/AttachmentResource.php @@ -13,7 +13,7 @@ * @property-read Attachment $data */ #[OA\Schema( - schema: 'Attachment', + schema: 'HttpDumpAttachment', properties: [ new OA\Property(property: 'uuid', type: 'string', format: 'uuid'), new OA\Property(property: 'name', type: 'string'), diff --git a/app/modules/Smtp/Interfaces/Http/Resources/AttachmentResource.php b/app/modules/Smtp/Interfaces/Http/Resources/AttachmentResource.php index 067be1f1..2818a565 100644 --- a/app/modules/Smtp/Interfaces/Http/Resources/AttachmentResource.php +++ b/app/modules/Smtp/Interfaces/Http/Resources/AttachmentResource.php @@ -13,7 +13,7 @@ * @property-read Attachment $data */ #[OA\Schema( - schema: 'Attachment', + schema: 'SmtpAttachment', properties: [ new OA\Property(property: 'uuid', type: 'string', format: 'uuid'), new OA\Property(property: 'name', type: 'string'),