Commit 92ae700
fix(fileService): validate signRequestId and filter invalid signer entries
- Replace array_map with foreach to properly filter invalid signer entries
- Validate signRequestId as required field (must be integer or numeric string)
- Type-cast fields explicitly: displayName, email, statusText to string; status to int
- Skip empty array returns for non-array inputs
- Preserve identifyMethods when present
- Ensures all returned summaries comply with OpenAPI schema contract
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent 9f86399 commit 92ae700
1 file changed
Lines changed: 23 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
636 | 638 | | |
637 | 639 | | |
638 | | - | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
639 | 651 | | |
640 | 652 | | |
641 | 653 | | |
642 | | - | |
643 | | - | |
644 | | - | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
645 | 657 | | |
646 | | - | |
647 | | - | |
| 658 | + | |
| 659 | + | |
648 | 660 | | |
649 | 661 | | |
650 | 662 | | |
651 | 663 | | |
652 | 664 | | |
653 | 665 | | |
654 | | - | |
655 | | - | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
656 | 670 | | |
657 | 671 | | |
658 | 672 | | |
| |||
0 commit comments