Commit 47addb4
committed
fix: restore top-level security, health probe overrides, and additionalProperties after swag regen
swag init does not emit global security or per-operation security overrides,
so these must be re-patched after every regeneration run. Restores:
- Top-level `security: [{ApiKeyAuth: []}, {OIDCAuth: []}]` in both swagger files
- `security: []` on /healthz and /readyz so probes remain unauthenticated once the
global default is active
- `additionalProperties: true` on WorkflowDetailResponse.definition (free-form JSON object)
Addresses CodeRabbit feedback on PR #129.
https://claude.ai/code/session_01LZPDwwXPmh3NoRfpJ7qNrc1 parent 02821fc commit 47addb4
2 files changed
Lines changed: 24 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
| 635 | + | |
| 636 | + | |
636 | 637 | | |
637 | 638 | | |
638 | 639 | | |
| |||
657 | 658 | | |
658 | 659 | | |
659 | 660 | | |
660 | | - | |
| 661 | + | |
| 662 | + | |
661 | 663 | | |
662 | 664 | | |
663 | 665 | | |
| |||
932 | 934 | | |
933 | 935 | | |
934 | 936 | | |
935 | | - | |
| 937 | + | |
| 938 | + | |
936 | 939 | | |
937 | 940 | | |
938 | 941 | | |
| |||
1025 | 1028 | | |
1026 | 1029 | | |
1027 | 1030 | | |
1028 | | - | |
| 1031 | + | |
1029 | 1032 | | |
1030 | 1033 | | |
1031 | 1034 | | |
1032 | 1035 | | |
1033 | | - | |
1034 | | - | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| |||
641 | 642 | | |
642 | 643 | | |
643 | 644 | | |
| 645 | + | |
644 | 646 | | |
645 | 647 | | |
646 | 648 | | |
| |||
657 | 659 | | |
658 | 660 | | |
659 | 661 | | |
| 662 | + | |
660 | 663 | | |
661 | 664 | | |
662 | 665 | | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
663 | 669 | | |
664 | 670 | | |
665 | 671 | | |
| |||
0 commit comments