Flight Log / christianhelle/apiclientcodegen #1163
Fix ArgumentException in OpenApiCSharpCodeGenerator.Sanitize method — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in christianhelle/apiclientcodegen on May 19, 2025; merged clean in 22.9 d, merged by @christianhelle: +40 −10, 3 files, 1 review.
- Lines
- +40 −10
- Files
- 3
- Commits
- 4
- Reviews
- 1
- To merge
- 22.9 d
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
The task was to fix a System.ArgumentException thrown by the Sanitize method of OpenApiCSharpCodeGenerator when generating C# code from OpenAPI specifications. The change touched three files across four commits, adding 40 and removing 10 lines. The pull request merged clean after one review round with zero change requests, 549.95 hours after opening.
From the pull request description
## Issue Description When generating C# code from OpenAPI specifications, users were experiencing a `System.ArgumentException` with the message "String cannot be of zero length. Parameter name: oldValue". This occurred in the `Sanitize` method of the `OpenApiCSharpCodeGenerator` class. ## Root Cau…
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
- —committedChristian Helle
- —committedChristian Helle
- Jun 11, 2025mergedchristianhelle
- Jun 11, 2025closedchristianhelle
Read next
Cite this flight: AgentRiders Flight Log, christianhelle/apiclientcodegen#1163, record updated Nov 4, 2026, https://agentriders.com/logs/christianhelle/apiclientcodegen/1163/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.