Repository navigation
Stream OpenAPI 3.2 itemSchema responses in the generated client - #6767
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codex Review Summary: ✅ CompletedThis 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. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Merging this PR will degrade performance by 10.54%1 warning
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
Breaking Change AnalysisResult: Breaking changes detected Reasoning: The behaviour diff gate shows only both-fail cells, so default model output is unchanged. The breaking changes are in Python client generation, which 0.95.0 has; the baseline lists no new features, options or public names. In plan.py, a response media that is SSE or JSON Lines or NDJSON and has an item_stream_array itemSchema projection now gets use None, with the item binding moved to a new item field. The operation method therefore returns raw str or bytes instead of a model-typed result. The docs confirm this: the sentence saying a method returns the decoded body gains an exception, and the expected outputs show text_branch and binary_branch with str and bytes type aliases. A new item_protocols step in target.py adds an SSE or NDJSON helper for each such operation automatically. It also raises APIGenerationError with E_NAME_COLLISION when a declared helper name contains or is contained in a derived helper name, which stops existing helper files with names like default from generating. Moving the media constants from streams.py to plan.py only touches private names, and the new EventPlan fields flag defaults to False, so declared helpers behave as before. Content for Release NotesCode Generation Changes
Error Handling Changes
This analysis was produced by the release draft workflow |
|
🎉 Released in 0.96.0 This PR is now available in the latest release. See the release notes for details. |
Fixes: #6594
Summary by CodeRabbit
New Features
Documentation