Files
json-to-openapi/examples/users.json

42 lines
891 B
JSON

{
"users": [
{
"id": 1,
"name": "Alice Johnson",
"email": "alice@example.com",
"age": 30,
"active": true,
"created_at": "2024-01-15T10:30:00Z",
"roles": ["admin", "user"],
"profile": {
"bio": "Software engineer",
"avatar_url": "https://example.com/avatar.png",
"settings": {
"theme": "dark",
"notifications": true
}
}
},
{
"id": 2,
"name": "Bob Smith",
"email": "bob@example.com",
"age": 25,
"active": false,
"created_at": "2024-02-20T14:00:00Z",
"roles": ["user"],
"profile": {
"bio": "Data scientist",
"avatar_url": "https://example.com/bob.png",
"settings": {
"theme": "light",
"notifications": false
}
}
}
],
"total": 2,
"page": 1,
"per_page": 10
}