Repository navigation
fix(api): align OpenAPI watchlist schema with API behavior - #3635
Jocelyn017 wants to merge 3 commits into
Conversation
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
Thanks for the PR. The checklist has "Disclosed any use of AI" ticked, but the description has no AI disclosure section. Our AI assistance policy asks for a disclosure on every PR, including when no AI was used. Ticking the box doesn't count as a disclosure on its own. Please edit the description to add a short statement. If you used AI, say which tool and what you used it for (writing the spec changes, drafting the description, testing, etc.). If you didn't use any, say so explicitly. Also, the title only mentions the watchlist schema, but the PR changes the User schema too. Once that's added I'll take a look at the changes. |
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
| application/json: | ||
| schema: | ||
| $ref: '#/components/schemas/WatchlistRequest' | ||
| $ref: '#/components/schemas/WatchlistCreate' |
Description
Update the OpenAPI spec to match the watchlist API and filtered user responses. The watchlist create request now documents the required
mediaType(movieortv), and its response documents the returnedmediaTypeand201status. TheUserschema no longer requiresemailwhen filtered responses omit it.How Has This Been Tested?
git diff --check.mediaType; requests without it returned a validation error.Screenshots / Logs (if applicable)
Not applicable.
Checklist:
pnpm buildpnpm i18n:extractSummary by CodeRabbit
movieortv).mediaTypeinstead oftypeand include complete read-only details.