Repository navigation
Resolve OpenAPI and AsyncAPI document references on the graph - #5167
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ 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
|
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. |
Merging this PR will degrade performance by 30.59%2 warnings
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
6a3bc33 to
b451e60
Compare
Breaking Change AnalysisResult: No breaking changes detected Reasoning: The PR only changes internal parser code and documentation. It adds a DISCRIMINATOR_SCHEMA value to the internal RefOrigin enum. It adds mount_root and mount_in methods to the internal SchemaGraphBuilder, so converted AsyncAPI payloads from Protocol Buffers or XML Schema are mounted under a copy of the root owned by the graph instead of being written into the loaded document. It also adds a private _schema_key helper, so OpenAPI, scoped OpenAPI and AsyncAPI register discriminator schemas and subtypes under the key resolved from the schema's own document rather than the current resolver context. These are refactorings of private internals and bug fixes for multi-document discriminator resolution. No CLI options, public Python API, template variables, defaults, supported Python versions or error reporting change, and nothing public is removed in the diff, so there are no breaking changes. This analysis was produced by the release draft workflow |
Summary by CodeRabbit
allOfsubtypes are registered under references based on their own document locations.