Commit 3d56109
committed
fix(spp_api_v2_change_request): use Literal type for finite-valued str fields
Replace plain str with Literal for fields that have a known, fixed set of
valid values: ChangeRequestResponse.status and ChangeRequestTypeInfo.target_type.
This provides stricter validation and clearer API documentation.1 parent d857cf8 commit 3d56109
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
| |||
202 | 201 | | |
203 | 202 | | |
204 | 203 | | |
205 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| |||
0 commit comments