[release/9.0] Harden schema reference transformer for relative references by captainsafia · Pull Request #59779 · dotnet/aspnetcore (original) (raw)
Description
This PR resolves a set of issues that have been reported with schema reference resolution in the OpenAPI implementation. The crux of the issue deals with the way the underlying System.Text.Json generates relative references for schemas that include recursion or duplication.
Fixes #59677
Fixes #58968
Fixes #59427
Customer Impact
Resolves an issue with re-entrant schemas where no workarounds currently exist.
Regression?
- Yes
- No
Risk
- High
- Medium
- Low
Low risk because:
- Change is localized to Microsoft.AspNetCore.OpenApi package
- Change is additive and doesn't change existing behavior
Verification
- Manual (required)
- Automated
Packaging changes reviewed?
- Yes
- No
- N/A