Commit 921fe28
[Fix] Add related field to notifications_response swagger spec (#801)
## Summary
- [PR #799](#799) added a
`related` block (`{ users, tracks, playlists }`) to the
`/v1/notifications` response in Go but didn't update the swagger spec to
match.
- Without this, generated SDK clients (e.g. `@audius/sdk`) don't see the
field and consumers can't read it in a type-safe way.
- One-line addition — `$ref`s the existing `related` schema (already
defined at line 13146 for other endpoints).
## Test plan
- [x] Spec lints / parses (single property addition under existing
schema)
- [ ] Regenerating SDK clients picks up `related?: Related` on
`NotificationsResponse` (verified locally against the `@audius/sdk`
typescript-fetch generator)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 602f7b0 commit 921fe28
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15212 | 15212 | | |
15213 | 15213 | | |
15214 | 15214 | | |
| 15215 | + | |
| 15216 | + | |
15215 | 15217 | | |
15216 | 15218 | | |
15217 | 15219 | | |
| |||
0 commit comments