Skip to content

Commit bba4f04

Browse files
committed
chore: include PR requested changes
1 parent 9140b86 commit bba4f04

File tree

1 file changed

+0
-48
lines changed

1 file changed

+0
-48
lines changed

app/Swagger/SummitRegistrationSchemas.php

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -27,54 +27,6 @@ class PaginatedSummitTicketTypesResponseSchema
2727

2828
// Summit Badge Feature Types
2929

30-
#[OA\Schema(
31-
schema: "SummitTicketTypeAddRequest",
32-
type: "object",
33-
required: ["name"],
34-
properties: [
35-
new OA\Property(property: "name", type: "string", example: "General Admission"),
36-
new OA\Property(property: "description", type: "string", example: "Standard ticket for conference access"),
37-
new OA\Property(property: "external_id", type: "string", maxLength: 255, example: "ext-123"),
38-
new OA\Property(property: "cost", type: "number", format: "float", minimum: 0, example: 99.99),
39-
new OA\Property(property: "currency", type: "string", description: "Required when cost is provided. ISO currency code.", example: "USD"),
40-
new OA\Property(property: "quantity_2_sell", type: "integer", minimum: 0, example: 100),
41-
new OA\Property(property: "max_quantity_per_order", type: "integer", minimum: 0, example: 10),
42-
new OA\Property(property: "sales_start_date", type: "integer", description: "Unix timestamp", example: 1640995200, nullable: true),
43-
new OA\Property(property: "sales_end_date", type: "integer", description: "Unix timestamp (must be after sales_start_date)", example: 1641081600, nullable: true),
44-
new OA\Property(property: "badge_type_id", type: "integer", example: 1),
45-
new OA\Property(property: "audience", type: "string", enum: SummitTicketType::AllowedAudience, example: SummitTicketType::Audience_All),
46-
new OA\Property(property: "allows_to_delegate", type: "boolean", example: true),
47-
new OA\Property(property: "allows_to_reassign", type: "boolean", example: true),
48-
]
49-
)]
50-
class SummitTicketTypeAddRequestSchema
51-
{
52-
}
53-
54-
#[OA\Schema(
55-
schema: "SummitTicketTypeUpdateRequest",
56-
type: "object",
57-
properties: [
58-
new OA\Property(property: "name", type: "string", example: "General Admission"),
59-
new OA\Property(property: "description", type: "string", example: "Standard ticket for conference access"),
60-
new OA\Property(property: "external_id", type: "string", maxLength: 255, example: "ext-123"),
61-
new OA\Property(property: "cost", type: "number", format: "float", minimum: 0, example: 99.99),
62-
new OA\Property(property: "currency", type: "string", description: "ISO currency code", example: "USD"),
63-
new OA\Property(property: "quantity_2_sell", type: "integer", minimum: 0, example: 100),
64-
new OA\Property(property: "max_quantity_per_order", type: "integer", minimum: 0, example: 10),
65-
new OA\Property(property: "sales_start_date", type: "integer", description: "Unix timestamp", example: 1640995200, nullable: true),
66-
new OA\Property(property: "sales_end_date", type: "integer", description: "Unix timestamp (must be after sales_start_date)", example: 1641081600, nullable: true),
67-
new OA\Property(property: "badge_type_id", type: "integer", example: 1),
68-
new OA\Property(property: "audience", type: "string", enum: SummitTicketType::AllowedAudience, example: SummitTicketType::Audience_All),
69-
new OA\Property(property: "allows_to_delegate", type: "boolean", example: true),
70-
new OA\Property(property: "allows_to_reassign", type: "boolean", example: true),
71-
]
72-
)]
73-
class SummitTicketTypeUpdateRequestSchema
74-
{
75-
}
76-
77-
7830
#[OA\Schema(
7931
schema: "SummitTicketTypeAddRequest",
8032
type: "object",

0 commit comments

Comments
 (0)