Skip to content

Commit 3dd7a1b

Browse files
committed
refactor: Convert comments to proper JSON schema fields in user list schema
1 parent a2684ee commit 3dd7a1b

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

schemas/user_list_schema.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
{
2-
// User List Response Schema
3-
// This schema validates the response from GET /api/users endpoint
4-
// It defines the structure for paginated user list responses
5-
// Version: 1.0.0
6-
// Last Updated: 2025-07-11
7-
// Endpoint: GET /api/users?page={page}
82
"$schema": "http://json-schema.org/draft-07/schema#",
93
"title": "UserListResponse",
10-
"description": "Schema for paginated user list response from ReqRes API",
4+
"description": "Schema for paginated user list response from ReqRes API (GET /api/users endpoint)",
5+
"$comment": "Version: 1.0.0 | Last Updated: 2025-07-11",
116
"type": "object",
127
"required": ["page", "per_page", "total", "total_pages", "data", "support"],
138
"properties": {

0 commit comments

Comments
 (0)