Commit 4c5b3d8
Fix attribute parsing when missing from request with empty default
When an attribute is missing from the request and has an empty default value,
throw ObjectMissingException instead of trying to parse with empty object.
This prevents OneOf validation errors on missing required attributes.
Co-authored-by: sbrunner <353872+sbrunner@users.noreply.github.com>1 parent b50f676 commit 4c5b3d8
1 file changed
Lines changed: 7 additions & 0 deletions
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
440 | 441 | | |
441 | 442 | | |
442 | 443 | | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
443 | 450 | | |
444 | 451 | | |
445 | 452 | | |
| |||
0 commit comments