[BUG]: Deserializing https://api.github.com/repos/{owner}/{repository}
to Octokit.Webhooks.Models.Repository
will throw
#526
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
What happened?
When attempting to deserialize a successful rest request response from
https://api.github.com/repos/{owner}/{repository}
toOctokit.Webhooks.Models.Repository
, STJ will throw the following exception:I suspect this is because
Octokit.Webhooks.Models.Repository
should be of typeOctokit.Webhooks.Models.Organization
instead of astring
. When reproducing, ensure the repository you're calling the route on belongs to an organization, not a user.Versions
8.0.302
Octokit.Webhooks
NuGet package:2.2.2
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: