Commit a285162
fix: use synced openapi.json instead of downloading from production
The workflow was downloading openapi.json from production API, which caused it to skip publishing since the version was unchanged.
Now it uses the synced file from server repo first, only downloading from production as a fallback if the synced file is missing.
This fixes the chicken-and-egg problem where server changes weren't reflected in the SDK until they were deployed to production.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 58a6b24 commit a285162
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
46 | 54 | | |
47 | 55 | | |
48 | 56 | | |
| |||
0 commit comments