Closed
Description
Schema Inaccuracy
When fetching issues for the rails project using the GitHub API, the html_url
provided in the API response incorrectly redirects to a pull request URL rather than the expected issue URL.
Expected
For an issue fetched from the GitHub API, the expected html_url format should directly link to the issue page on GitHub, following the pattern:
Expected URL Format: https://github.com/rails/rails/issues/<issue_id>
The actual URL format in the API response is:
Actual URL Redirect: https://github.com/rails/rails/pull/<issue_id>
Reproduction Steps
- Use the GitHub API to fetch issues related to the Rails project (e.g., curl -X GET https://api.github.com/repos/rails/rails/issues).
- Inspect the
html_url
field in the API response for any issue.