|
15 | 15 | new OA\Property(property: 'qr_code', type: 'string', nullable: true, example: 'QR123456789'), |
16 | 16 | new OA\Property(property: 'is_void', type: 'boolean', example: false, description: 'Whether the badge has been voided'), |
17 | 17 | new OA\Property(property: 'printed_times', type: 'integer', example: 2, description: 'Number of times this badge has been printed'), |
18 | | - new OA\Property(property: 'ticket_id', type: 'integer', example: 123, description: 'Ticket ID, use expand=ticket for full object details (ticket field)'), |
19 | | - new OA\Property(property: 'type_id', type: 'integer', example: 5, description: 'BadgeType ID, use expand=type for full object details (type field)'), |
| 18 | + new OA\Property(property: 'ticket_id', type: 'integer', example: 123, description: 'SummitAttendeeTicket ID, use expand=ticket for full object details'), |
| 19 | + new OA\Property(property: 'type_id', type: 'integer', example: 5, description: 'SummitBadgeType ID, use expand=type for full object details'), |
| 20 | + new OA\Property(property: 'type', ref: '#/components/schemas/SummitBadgeType'), |
20 | 21 | new OA\Property(property: 'print_excerpt', type: 'string', example: 'John Doe - Speaker', description: 'Short text excerpt for printing'), |
21 | 22 | new OA\Property( |
22 | 23 | property: 'features', |
23 | 24 | type: 'array', |
24 | | - description: 'Array of feature IDs assigned to this badge (use expand=features for full details)', |
25 | | - items: new OA\Items(type: 'integer'), |
| 25 | + description: 'Array of SummitBadgeFeatureType IDs assigned to this badge (use expand=features for full details)', |
| 26 | + items: new OA\Items(oneOf: [ |
| 27 | + new OA\Schema(type: 'integer'), |
| 28 | + new OA\Schema(ref: '#/components/schemas/SummitBadgeFeatureType'), |
| 29 | + ]), |
26 | 30 | example: [1, 2, 3] |
27 | 31 | ), |
28 | 32 | ], |
|
0 commit comments