Skip to content

Commit b37d1b2

Browse files
Fix API docs
1 parent d75c40e commit b37d1b2

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

src/Http/Requests/UpdateUserSettingsRequest.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,34 @@ public function messages(): array
3030
'timezone.max' => 'Timezone must not exceed 50 characters.',
3131
];
3232
}
33+
34+
public function bodyParameters(): array
35+
{
36+
return [
37+
'biometric_enabled' => [
38+
'description' => 'Enable or disable biometric authentication',
39+
'example' => true,
40+
],
41+
'notification_enabled' => [
42+
'description' => 'Enable or disable push notifications',
43+
'example' => true,
44+
],
45+
'language' => [
46+
'description' => 'Preferred language code',
47+
'example' => 'en',
48+
],
49+
'currency' => [
50+
'description' => 'Preferred currency code',
51+
'example' => 'USD',
52+
],
53+
'theme' => [
54+
'description' => 'Application theme preference',
55+
'example' => 'light',
56+
],
57+
'timezone' => [
58+
'description' => 'User timezone',
59+
'example' => 'America/New_York',
60+
],
61+
];
62+
}
3363
}

0 commit comments

Comments
 (0)