Skip to content

Commit 1c786ab

Browse files
committed
chore: Add PR's requested changes
Signed-off-by: Matias Perrone <[email protected]>
1 parent 7ed5629 commit 1c786ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Http/Controllers/Apis/Protected/Summit/OAuth2SummitTicketApiController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ public function refundTicket($summit_id, $ticket_id)
11221122
new OA\Response(
11231123
response: Response::HTTP_OK,
11241124
description: 'Successful operation',
1125-
content: new OA\JsonContent(schema: 'SummitAttendeeBadge')
1125+
content: new OA\JsonContent(ref: '#/components/schemas/SummitAttendeeBadge')
11261126
),
11271127
new OA\Response(response: Response::HTTP_UNAUTHORIZED, description: 'Unauthorized'),
11281128
new OA\Response(response: Response::HTTP_NOT_FOUND, description: 'Summit, ticket or badge not found'),

app/Swagger/SummitRegistrationSchemas.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class SummitBadgeTypeUpdateRequestSchema
114114
new OA\Property(
115115
property: 'data',
116116
type: 'array',
117-
items: new OA\Items(type: 'SummitAttendeeTicket')
117+
items: new OA\Items(ref: '#/components/schemas/SummitAttendeeTicket')
118118
)
119119
]
120120
)

0 commit comments

Comments
 (0)