Open
Description
issue
when running go run openapi-changes.go html-report
on a private repo with the GH_TOKEN set as env variable, a 404 is returned.

This is likely cause in github.go
we try to download the file using a raw url from the commit response
r, _ = http.NewRequest(http.MethodGet, commit.Files[x].RawURL, nil)
Possible Solution
use Content API to get a download url with authentication token, we can then download the content from the retuned url
Metadata
Metadata
Assignees
Labels
No labels