Commit 9474626
committed
fix(schemas): advertise epoch seconds in expire_after request schema
The expire_after before-validator accepts Unix epoch seconds alongside
ISO 8601 strings, but the generated schema only advertised string
date-time, so every SDK had to hand-widen the type. Set
json_schema_input_type on the three request validators and regenerate
openapi.json. Runtime parsing and validation are unchanged.1 parent 0a56bad commit 9474626
3 files changed
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9592 | 9592 | | |
9593 | 9593 | | |
9594 | 9594 | | |
| 9595 | + | |
| 9596 | + | |
| 9597 | + | |
9595 | 9598 | | |
9596 | 9599 | | |
9597 | 9600 | | |
| |||
10143 | 10146 | | |
10144 | 10147 | | |
10145 | 10148 | | |
| 10149 | + | |
| 10150 | + | |
| 10151 | + | |
10146 | 10152 | | |
10147 | 10153 | | |
10148 | 10154 | | |
| |||
12826 | 12832 | | |
12827 | 12833 | | |
12828 | 12834 | | |
| 12835 | + | |
| 12836 | + | |
| 12837 | + | |
12829 | 12838 | | |
12830 | 12839 | | |
12831 | 12840 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
261 | 263 | | |
262 | 264 | | |
263 | 265 | | |
| |||
368 | 370 | | |
369 | 371 | | |
370 | 372 | | |
371 | | - | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
372 | 376 | | |
373 | 377 | | |
374 | 378 | | |
| |||
0 commit comments