Skip to content

Commit 3e46927

Browse files
committed
chore: Remove repeated SummitDocumentSchema from generic file
Signed-off-by: Matias Perrone <github@matiasperrone.com>
1 parent 35703b7 commit 3e46927

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

app/Swagger/SummitSchemas.php

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -198,32 +198,6 @@ class SummitScheduleConfigUpdateRequestSchema {}
198198

199199
// Summit Documents
200200

201-
#[OA\Schema(
202-
schema: "SummitDocument",
203-
description: "Summit document",
204-
type: "object",
205-
properties: [
206-
new OA\Property(property: "id", type: "integer", example: 1),
207-
new OA\Property(property: "created", type: "integer", description: "Unix timestamp", example: 1640995200),
208-
new OA\Property(property: "last_edited", type: "integer", description: "Unix timestamp", example: 1640995200),
209-
new OA\Property(property: "name", type: "string", example: "Code of Conduct"),
210-
new OA\Property(property: "description", type: "string", example: "Summit code of conduct document"),
211-
new OA\Property(property: "show_always", type: "boolean", example: true),
212-
new OA\Property(property: "label", type: "string", example: "Code of Conduct"),
213-
new OA\Property(property: "file", type: "string", format: "uri", nullable: true, example: "https://example.com/document.pdf"),
214-
new OA\Property(property: "web_link", type: "string", format: "uri", nullable: true, example: "https://example.com/page"),
215-
new OA\Property(property: "selection_plan_id", type: "integer", nullable: true, description: "SelectionPlan ID, full object description when ?expand=summit (summit)"),
216-
new OA\Property(
217-
property: "event_types",
218-
type: "array",
219-
items: new OA\Items(type: "integer"),
220-
description: "Array of SummitEventType: objects when expanded, ids otherwise",
221-
),
222-
new OA\Property(property: "summit_id", type: "integer", description: "Summit ID, full object description when ?expand=summit (summit)"),
223-
]
224-
)]
225-
class SummitDocumentSchema {}
226-
227201
#[OA\Schema(
228202
schema: "PaginatedSummitDocumentsResponse",
229203
description: "Paginated list of summit documents",

0 commit comments

Comments
 (0)