Commit 2d017f2
fix: exclude SPA catch-all route from OpenAPI schema to fix type drift CI
The /{full_path} SPA route was conditionally registered (only when
frontend/dist exists), causing generated types to differ between local
(with dist) and CI (without dist). Adding include_in_schema=False
ensures consistent type generation regardless of environment.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3f0df54 commit 2d017f2
2 files changed
Lines changed: 1 addition & 52 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3269 | 3269 | | |
3270 | 3270 | | |
3271 | 3271 | | |
3272 | | - | |
3273 | | - | |
3274 | | - | |
3275 | | - | |
3276 | | - | |
3277 | | - | |
3278 | | - | |
3279 | | - | |
3280 | | - | |
3281 | | - | |
3282 | | - | |
3283 | | - | |
3284 | | - | |
3285 | | - | |
3286 | | - | |
3287 | | - | |
3288 | | - | |
3289 | | - | |
3290 | | - | |
3291 | | - | |
3292 | 3272 | | |
3293 | 3273 | | |
3294 | 3274 | | |
| |||
11174 | 11154 | | |
11175 | 11155 | | |
11176 | 11156 | | |
11177 | | - | |
11178 | | - | |
11179 | | - | |
11180 | | - | |
11181 | | - | |
11182 | | - | |
11183 | | - | |
11184 | | - | |
11185 | | - | |
11186 | | - | |
11187 | | - | |
11188 | | - | |
11189 | | - | |
11190 | | - | |
11191 | | - | |
11192 | | - | |
11193 | | - | |
11194 | | - | |
11195 | | - | |
11196 | | - | |
11197 | | - | |
11198 | | - | |
11199 | | - | |
11200 | | - | |
11201 | | - | |
11202 | | - | |
11203 | | - | |
11204 | | - | |
11205 | | - | |
11206 | | - | |
11207 | | - | |
11208 | 11157 | | |
0 commit comments