-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSummitAbstractLocationSchema.php
More file actions
28 lines (24 loc) · 1.08 KB
/
SummitAbstractLocationSchema.php
File metadata and controls
28 lines (24 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
namespace App\Swagger\schemas;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'SummitAbstractLocation',
type: 'object',
properties: [
new OA\Property(property: 'id', type: 'integer', example: 1),
new OA\Property(property: 'created', type: 'integer', example: 1),
new OA\Property(property: 'last_edited', type: 'integer', example: 1),
new OA\Property(property: 'name', type: 'string'),
new OA\Property(property: 'short_name', type: 'string'),
new OA\Property(property: 'description', type: 'string'),
new OA\Property(property: 'location_type', type: 'string'),
new OA\Property(property: 'order', type: 'integer'),
new OA\Property(property: 'opening_hour', type: 'integer'),
new OA\Property(property: 'closing_hour', type: 'integer'),
new OA\Property(property: 'class_name', type: 'string'),
new OA\Property(property: 'published_events', type: 'array', items: new OA\Items(type: 'integer'), description: 'Array of published event IDs'),
]
)]
class SummitAbstractLocationSchema
{
}