Commit fb8596c
authored
### 📣 Summary
Restore optional behavior for the settings and sub_fields fields in REST
Services endpoints.
### 📖 Description
This fix reverts a regression where the `settings` and `sub_fields`
fields in REST Services became required. These fields are now optional
again, restoring backward compatibility and preventing validation errors
when creating or updating REST Services without them.
1 parent 4805001 commit fb8596c
File tree
6 files changed
+22
-17
lines changed- jsapp/js/api/models
- kobo/apps/hook
- serializers/v2
- tests
- utils/tests
- static/openapi
6 files changed
+22
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | | - | |
30 | | - | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 35 | | |
42 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14734 | 14734 | | |
14735 | 14735 | | |
14736 | 14736 | | |
14737 | | - | |
14738 | | - | |
14739 | 14737 | | |
14740 | 14738 | | |
14741 | 14739 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10513 | 10513 | | |
10514 | 10514 | | |
10515 | 10515 | | |
10516 | | - | |
10517 | | - | |
10518 | 10516 | | |
10519 | 10517 | | |
10520 | 10518 | | |
| |||
0 commit comments