Skip to content

Commit a134fa4

Browse files
committed
fix: issues on rebase
1 parent a6d5774 commit a134fa4

1 file changed

Lines changed: 0 additions & 74 deletions

File tree

app/Swagger/SummitRegistrationSchemas.php

Lines changed: 0 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -104,80 +104,6 @@ class SummitBadgeTypeUpdateRequestSchema
104104
{
105105
}
106106

107-
#[OA\Schema(
108-
schema: 'SummitTaxType',
109-
type: 'object',
110-
properties: [
111-
new OA\Property(property: 'id', type: 'integer', example: 1),
112-
new OA\Property(property: 'created', type: 'integer', example: 1630500518),
113-
new OA\Property(property: 'last_edited', type: 'integer', example: 1630500518),
114-
new OA\Property(property: 'name', type: 'string', example: 'VAT'),
115-
new OA\Property(property: 'tax_id', type: 'string', example: 'VAT-001', nullable: true),
116-
new OA\Property(property: 'rate', type: 'number', format: 'float', example: 21.0),
117-
new OA\Property(property: 'summit_id', type: 'integer', example: 42),
118-
new OA\Property(
119-
property: 'ticket_types',
120-
type: 'array',
121-
items: new OA\Items(oneOf: [
122-
new OA\Schema(type: 'integer'),
123-
new OA\Schema(type: 'SummitTicketType')
124-
]),
125-
example: [1, 2, 3],
126-
description: 'Array of ticket type IDs or its Model (only present when relations=ticket_types), expanded when expand includes ticket_types.'
127-
),
128-
]
129-
)]
130-
class SummitTaxTypeSchema
131-
{
132-
}
133-
134-
#[OA\Schema(
135-
schema: 'PaginatedSummitTaxTypesResponse',
136-
allOf: [
137-
new OA\Schema(ref: '#/components/schemas/PaginateDataSchemaResponse'),
138-
new OA\Schema(
139-
type: 'object',
140-
properties: [
141-
new OA\Property(
142-
property: 'data',
143-
type: 'array',
144-
items: new OA\Items(ref: '#/components/schemas/SummitTaxType')
145-
)
146-
]
147-
)
148-
]
149-
)]
150-
class PaginatedSummitTaxTypesResponseSchema
151-
{
152-
}
153-
154-
#[OA\Schema(
155-
schema: 'SummitTaxTypeCreateRequest',
156-
type: 'object',
157-
required: ['name', 'rate'],
158-
properties: [
159-
new OA\Property(property: 'name', type: 'string', example: 'VAT'),
160-
new OA\Property(property: 'tax_id', type: 'string', example: 'VAT-001'),
161-
new OA\Property(property: 'rate', type: 'number', format: 'float', example: 21.0, description: 'Rate must be greater than 0'),
162-
]
163-
)]
164-
class SummitTaxTypeCreateRequestSchema
165-
{
166-
}
167-
168-
#[OA\Schema(
169-
schema: 'SummitTaxTypeUpdateRequest',
170-
type: 'object',
171-
properties: [
172-
new OA\Property(property: 'name', type: 'string', example: 'VAT'),
173-
new OA\Property(property: 'tax_id', type: 'string', example: 'VAT-001'),
174-
new OA\Property(property: 'rate', type: 'number', format: 'float', example: 21.0, description: 'Rate must be greater than 0'),
175-
]
176-
)]
177-
class SummitTaxTypeUpdateRequestSchema
178-
{
179-
}
180-
181107
// Summit Badge Feature Types
182108

183109
#[OA\Schema(

0 commit comments

Comments
 (0)