Repository navigation
Allow unknown fan dates through OpenAPI 3.1 types - #1061
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 30 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
A standards check found that the new optional fan date used
type: stringplus the oldernullable: trueextension inside an OpenAPI 3.1 document. Python's Draft202012Validator rejects the documented null value; the existing AJV run accepted its OpenAPI nullable extension and masked the mismatch. Use the standard string/null type union in the shared public fixture and guard null validation without the older extension. Runtime fan behavior is unchanged.OpenAPI 3.1 Schema Object follows JSON Schema 2020-12. The standard validator now accepts null and the ISO date example and rejects numeric dates. The field stays optional and date-time; stored evidence, permissions and every other schema value remain unchanged.
Follow-up to merged #1058, paired with Marketing #197's unmerged maintained source. Two assertions fail before the correction; all 78 fan/contract tests/14 files pass afterward. Focused response-constructor types, scoped lint, formatting and whitespace pass. Full repository typing remains outside this qualified check; the prior independent #1058 review records its unchanged baseline errors.
This PR changes only the fixture and its tests. Marketing #197 must reference this actual companion merge after independent review/coordinator release, then its own publication can proceed. The separately corrected card-removal guide/Docs #385 publication stays independent. No customer comments, provider call, charge, migration, runtime or hosting change. Tracks recoupable/mono#327.