Skip to content

Commit b26d9ce

Browse files
committed
fix: Remove repeated PaginatedTagsResponseSchema class
Signed-off-by: Matias Perrone <github@matiasperrone.com>
1 parent b0bdbf0 commit b26d9ce

File tree

1 file changed

+54
-40
lines changed

1 file changed

+54
-40
lines changed

app/Swagger/OAuth2SummitEventsApiControllerSchemas.php

Lines changed: 54 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
)
2525
]
2626
)]
27-
class PaginatedSummitEventsResponseSchema {}
27+
class PaginatedSummitEventsResponseSchema
28+
{
29+
}
2830

2931
/**
3032
* Paginated Summit Event Feedback Response Schema
@@ -46,29 +48,9 @@ class PaginatedSummitEventsResponseSchema {}
4648
)
4749
]
4850
)]
49-
class PaginatedSummitEventFeedbackResponseSchema {}
50-
51-
/**
52-
* Paginated Tags Response Schema
53-
*/
54-
#[OA\Schema(
55-
schema: 'PaginatedTagsResponse',
56-
type: 'object',
57-
allOf: [
58-
new OA\Schema(ref: '#/components/schemas/PaginateDataSchemaResponse'),
59-
new OA\Schema(
60-
type: 'object',
61-
properties: [
62-
new OA\Property(
63-
property: 'data',
64-
type: 'array',
65-
items: new OA\Items(ref: "#/components/schemas/Tag")
66-
)
67-
]
68-
)
69-
]
70-
)]
71-
class PaginatedTagsResponseSchema {}
51+
class PaginatedSummitEventFeedbackResponseSchema
52+
{
53+
}
7254

7355
/**
7456
* Add Event Request Schema
@@ -117,7 +99,9 @@ class PaginatedTagsResponseSchema {}
11799
),
118100
]
119101
)]
120-
class AddSummitEventRequestSchema {}
102+
class AddSummitEventRequestSchema
103+
{
104+
}
121105

122106
/**
123107
* Update Event Request Schema
@@ -166,7 +150,9 @@ class AddSummitEventRequestSchema {}
166150
),
167151
]
168152
)]
169-
class UpdateSummitEventRequestSchema {}
153+
class UpdateSummitEventRequestSchema
154+
{
155+
}
170156

171157
/**
172158
* Publish Event Request Schema
@@ -181,7 +167,9 @@ class UpdateSummitEventRequestSchema {}
181167
new OA\Property(property: 'duration', type: 'integer', minimum: 0, description: 'Duration in seconds'),
182168
]
183169
)]
184-
class PublishSummitEventRequestSchema {}
170+
class PublishSummitEventRequestSchema
171+
{
172+
}
185173

186174
/**
187175
* Unpublish Events Request Schema
@@ -199,7 +187,9 @@ class PublishSummitEventRequestSchema {}
199187
),
200188
]
201189
)]
202-
class UnpublishEventsRequestSchema {}
190+
class UnpublishEventsRequestSchema
191+
{
192+
}
203193

204194
/**
205195
* Update and Publish Events Request Schema
@@ -226,7 +216,9 @@ class UnpublishEventsRequestSchema {}
226216
),
227217
]
228218
)]
229-
class UpdateAndPublishEventsRequestSchema {}
219+
class UpdateAndPublishEventsRequestSchema
220+
{
221+
}
230222

231223
/**
232224
* Update Events Request Schema
@@ -255,7 +247,9 @@ class UpdateAndPublishEventsRequestSchema {}
255247
),
256248
]
257249
)]
258-
class UpdateEventsRequestSchema {}
250+
class UpdateEventsRequestSchema
251+
{
252+
}
259253

260254
/**
261255
* Add Event Feedback Request Schema
@@ -269,7 +263,9 @@ class UpdateEventsRequestSchema {}
269263
new OA\Property(property: 'note', type: 'string', maxLength: 500, description: 'Optional feedback note'),
270264
]
271265
)]
272-
class AddEventFeedbackRequestSchema {}
266+
class AddEventFeedbackRequestSchema
267+
{
268+
}
273269

274270
/**
275271
* Share Event By Email Request Schema
@@ -284,7 +280,9 @@ class AddEventFeedbackRequestSchema {}
284280
new OA\Property(property: 'event_uri', type: 'string', format: 'uri', description: 'Event URI'),
285281
]
286282
)]
287-
class ShareEventByEmailRequestSchema {}
283+
class ShareEventByEmailRequestSchema
284+
{
285+
}
288286

289287
/**
290288
* Update Event Live Info Request Schema
@@ -298,7 +296,9 @@ class ShareEventByEmailRequestSchema {}
298296
new OA\Property(property: 'streaming_type', type: 'string', enum: ['VOD', 'LIVE'], description: 'Streaming type'),
299297
]
300298
)]
301-
class UpdateEventLiveInfoRequestSchema {}
299+
class UpdateEventLiveInfoRequestSchema
300+
{
301+
}
302302

303303
/**
304304
* Set Overflow Request Schema
@@ -310,7 +310,9 @@ class UpdateEventLiveInfoRequestSchema {}
310310
new OA\Property(property: 'overflow_streaming_url', type: 'string', format: 'uri', description: 'Overflow streaming URL'),
311311
]
312312
)]
313-
class SetOverflowRequestSchema {}
313+
class SetOverflowRequestSchema
314+
{
315+
}
314316

315317
/**
316318
* Clear Overflow Request Schema
@@ -320,7 +322,9 @@ class SetOverflowRequestSchema {}
320322
type: 'object',
321323
properties: []
322324
)]
323-
class ClearOverflowRequestSchema {}
325+
class ClearOverflowRequestSchema
326+
{
327+
}
324328

325329
/**
326330
* Import Events CSV Request Schema
@@ -334,7 +338,9 @@ class ClearOverflowRequestSchema {}
334338
new OA\Property(property: 'send_speaker_email', type: 'boolean', description: 'Send email notifications to speakers'),
335339
]
336340
)]
337-
class ImportEventDataRequestSchema {}
341+
class ImportEventDataRequestSchema
342+
{
343+
}
338344

339345
/**
340346
* Paginated Summit Schedule Empty Spots Response Schema
@@ -356,7 +362,9 @@ class ImportEventDataRequestSchema {}
356362
)
357363
]
358364
)]
359-
class PaginatedSummitScheduleEmptySpotsResponseSchema {}
365+
class PaginatedSummitScheduleEmptySpotsResponseSchema
366+
{
367+
}
360368

361369
/**
362370
* Summit Event Secure Stream Response Schema
@@ -371,7 +379,9 @@ class PaginatedSummitScheduleEmptySpotsResponseSchema {}
371379
new OA\Property(property: 'streaming_url', type: 'string', description: 'Streaming URL'),
372380
]
373381
)]
374-
class SummitEventSecureStreamResponseSchema {}
382+
class SummitEventSecureStreamResponseSchema
383+
{
384+
}
375385

376386
/**
377387
* Summit Event Overflow Stream Response Schema
@@ -385,7 +395,9 @@ class SummitEventSecureStreamResponseSchema {}
385395
new OA\Property(property: 'overflow_streaming_url', type: 'string', description: 'Overflow streaming URL'),
386396
]
387397
)]
388-
class SummitEventOverflowStreamResponseSchema {}
398+
class SummitEventOverflowStreamResponseSchema
399+
{
400+
}
389401

390402
/**
391403
* Summit Event Streaming Info Response Schema
@@ -400,4 +412,6 @@ class SummitEventOverflowStreamResponseSchema {}
400412
new OA\Property(property: 'streaming_type', type: 'string', enum: ['VOD', 'LIVE'], description: 'Streaming type'),
401413
]
402414
)]
403-
class SummitEventStreamingInfoResponseSchema {}
415+
class SummitEventStreamingInfoResponseSchema
416+
{
417+
}

0 commit comments

Comments
 (0)