Skip to content

Commit e22f9c7

Browse files
committed
fix: remove repeated schema
1 parent 77f2421 commit e22f9c7

1 file changed

Lines changed: 1 addition & 29 deletions

File tree

app/Swagger/SummitSponsorshipSchemas.php

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,6 @@
33

44
use OpenApi\Attributes as OA;
55

6-
#[OA\Schema(
7-
schema: 'SummitSponsorship',
8-
title: "Summit Sponsorship",
9-
description: "Summit Sponsorship Schema",
10-
type: "object",
11-
properties: [
12-
new OA\Property(property: "id", type: "integer", format: "int64"),
13-
new OA\Property(property: "type_id", type: "integer", format: "int64"),
14-
new OA\Property(property: "add_ons", type: "array", items: new OA\Items(type: "integer", format: "int64")),
15-
]
16-
)]
17-
class SummitSponsorshipSchema {}
18-
196
#[OA\Schema(
207
schema: 'PaginatedSponsorshipsResponse',
218
allOf: [
@@ -93,21 +80,6 @@ class AddAddOnRequestSchema {}
9380
)]
9481
class UpdateAddOnRequestSchema {}
9582

96-
#[OA\Schema(
97-
schema: 'SummitSponsorshipAddOn',
98-
title: "Summit Sponsorship Add On",
99-
description: "Summit Sponsorship Add On Schema",
100-
type: "object",
101-
properties: [
102-
new OA\Property(property: "id", type: "integer", format: "int64"),
103-
new OA\Property(property: "name", type: "string"),
104-
new OA\Property(property: "label", type: "string"),
105-
new OA\Property(property: "type", type: "string"),
106-
new OA\Property(property: "size", type: "string"),
107-
]
108-
)]
109-
class SummitSponsorshipAddOnSchemas {}
110-
11183
#[OA\Schema(
11284
title: "Summit Sponsorship Type",
11385
description: "Summit Sponsorship Type Schema",
@@ -132,4 +104,4 @@ class SummitSponsorshipAddOnSchemas {}
132104
new OA\Property(property: "should_display_on_lobby_page", type: "boolean"),
133105
]
134106
)]
135-
class SummitSponsorshipTypeSchemas {}
107+
class SummitSponsorshipTypeSchemas {}

0 commit comments

Comments
 (0)