Skip to content

Commit 784bb28

Browse files
committed
Fix: swagger response
1 parent e53430e commit 784bb28

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

src/Messaging/Controller/BounceController.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,15 @@ public function __construct(
8181
response: 200,
8282
description: 'Success',
8383
content: new OA\JsonContent(
84-
type: 'array',
85-
items: new OA\Items(ref: '#/components/schemas/BounceView')
84+
properties: [
85+
new OA\Property(
86+
property: 'items',
87+
type: 'array',
88+
items: new OA\Items(ref: '#/components/schemas/BounceView')
89+
),
90+
new OA\Property(property: 'pagination', ref: '#/components/schemas/CursorPagination')
91+
],
92+
type: 'object'
8693
)
8794
),
8895
new OA\Response(

0 commit comments

Comments
 (0)