Problem
The pinned managed GitHub connector Swagger gives PullRequest.comments_url the same metadata as diff_url:
"comments_url": {
"type": "string",
"format": "uri",
"x-ms-summary": "Pull Request Diff Url",
"description": "The Diff URL for the pull request."
}
The C# collision fix correctly preserves both wire fields, mapping diff_url to DiffUrl and comments_url to PullRequestDiffUrl, but the generated XML summary for PullRequestDiffUrl remains misleading because documentation is emitted from this owner metadata.
Expected
Correct the managed connector Swagger metadata for PullRequest.comments_url to describe the comments URL, then regenerate the GitHub client. Do not hand-edit the generated SDK file.
References
Problem
The pinned managed GitHub connector Swagger gives
PullRequest.comments_urlthe same metadata asdiff_url:The C# collision fix correctly preserves both wire fields, mapping
diff_urltoDiffUrlandcomments_urltoPullRequestDiffUrl, but the generated XML summary forPullRequestDiffUrlremains misleading because documentation is emitted from this owner metadata.Expected
Correct the managed connector Swagger metadata for
PullRequest.comments_urlto describe the comments URL, then regenerate the GitHub client. Do not hand-edit the generated SDK file.References
ab508ed2ea1f9c4cf3216d440e2d50cf86b3cc0f5312fa39ee036185d493c73e