Skip to content

Commit 808ad49

Browse files
committed
chore: Add missing properties in TagSchema
Signed-off-by: Matias Perrone <github@matiasperrone.com>
1 parent b755506 commit 808ad49

1 file changed

Lines changed: 4 additions & 13 deletions

File tree

app/Swagger/Models/TagSchema.php

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,10 @@
99
type: "object",
1010
required: ["id", "tag"],
1111
properties: [
12-
new OA\Property(
13-
property: "id",
14-
type: "integer",
15-
format: "int64",
16-
description: "Tag ID",
17-
example: 1
18-
),
19-
new OA\Property(
20-
property: "tag",
21-
type: "string",
22-
description: "Tag name/value",
23-
example: "Beginner"
24-
),
12+
new OA\Property(property: "id", type: "integer", example: 1),
13+
new OA\Property(property: "created", type: "integer", format: "int64", description: "Creation timestamp (epoch)", example: 1234567890),
14+
new OA\Property(property: "last_edited", type: "integer", format: "int64", description: "Last edit timestamp (epoch)", example: 1234567890),
15+
new OA\Property(property: "tag", type: "string", maxLength: 100, example: "Cloud Computing"),
2516
]
2617
)]
2718
class TagSchema {}

0 commit comments

Comments
 (0)