Commit 4645ab9
committed
chore(api): adapt to main after rebase (writeProjectError arity, apispec API, regen)
Rebased onto main, which landed several changes that intersect this branch:
- writeProjectError is now 3-arg (status derived from project.Error.Kind); the
get handler's degenerate-GetResult guard now calls the 3-arg form.
- apispec.Spec dropped its YAML() method; add apispec.Embedded() returning the
raw embedded bytes, used by the generator's drift + route-parity tests.
- #62 removed Runtime/Reactions/ReactionConfig from the project types, so the
regenerated openapi.yaml (and frontend schema.d.ts) drop those, and the dead
ReactionConfig entry is removed from the schema-name map.
- CI go.yml: keep main's new golangci-lint `lint` job alongside the gen-verify
job, both reading the Go version from go.mod.
go build/vet/test all pass; spec + TS regenerate with no drift; gofmt clean.1 parent 61e69fb commit 4645ab9
7 files changed
Lines changed: 10 additions & 63 deletions
File tree
- backend/internal/httpd
- apispec
- specgen
- controllers
- frontend/src/api
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | 317 | | |
322 | 318 | | |
323 | | - | |
324 | | - | |
325 | 319 | | |
326 | 320 | | |
327 | 321 | | |
| |||
358 | 352 | | |
359 | 353 | | |
360 | 354 | | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | 355 | | |
386 | 356 | | |
387 | 357 | | |
| |||
465 | 435 | | |
466 | 436 | | |
467 | 437 | | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | 438 | | |
479 | 439 | | |
480 | 440 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 111 | | |
115 | | - | |
116 | 112 | | |
117 | 113 | | |
118 | 114 | | |
| |||
125 | 121 | | |
126 | 122 | | |
127 | 123 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | 124 | | |
139 | 125 | | |
140 | 126 | | |
| |||
172 | 158 | | |
173 | 159 | | |
174 | 160 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | 161 | | |
180 | 162 | | |
181 | 163 | | |
| |||
0 commit comments