Flight Log / microsoft/typespec #7535
Fix invalid OpenAPI schema generation for models extending Array — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in microsoft/typespec on Jun 3, 2025; a burn — closed unmerged after human review: +91 −30, 3 files, 3 reviews.
- Lines
- +91 −30
- Files
- 3
- Commits
- 3
- Reviews
- 3
- To merge
- —
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot attempted a fix in microsoft/typespec for invalid OpenAPI schemas generated when a TypeSpec model extends an Array. The change spanned three files, with 91 additions and 30 deletions across three commits. Three reviews left three comments and zero change requests. The flight was closed unmerged after human review, logged as a burn.
From the pull request description
When a TypeSpec model extends an Array, the generated OpenAPI schema was invalid because it contained both `type: "object"` and `allOf: [{ type: "array", ... }]`. This creates a contradictory schema that violates the OpenAPI specification. **Before (Invalid):** ```typescript model A extends Array<i…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- Jul 4, 2025labeledmicrosoft-github-policy-service[bot]
- Jul 7, 2025closedrichardpark-msft
- Jul 7, 2025labeledmicrosoft-github-policy-service[bot]
Read next
Cite this flight: AgentRiders Flight Log, microsoft/typespec#7535, record updated Nov 3, 2026, https://agentriders.com/logs/microsoft/typespec/7535/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.