Repository navigation
Name the declaration of a referenced path item in the error for a non-string additionalOperations key - #5254
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. |
…-string additionalOperations key
d67d48e to
9d83534
Compare
Merging this PR will degrade performance by 16.02%1 warning
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! |
Breaking Change AnalysisResult: No breaking changes detected Reasoning: The PR changes only the private method _validate_operation_name_keys in the OpenAPI scope parser, adding a declaration argument. When a non-string additional operation method is found in a path item reached through a reference, the error now gives the schema path where the path item is declared instead of the path that references it. This fixes the location shown for malformed input. It does not change generated code, templates, CLI options, the public Python API, defaults, supported Python versions, or whether an error is raised. The rest of the PR is a new malformed test fixture and a test case. This analysis was produced by the release draft workflow |
Summary by CodeRabbit
additionalOperationsnow identify the relevant component path and include the invalid value.