KnpLabs / KnpLabs/php-github-api

Why defaults don't match the github doc?

未關閉
#799 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
PHP
星號
2.2k
分支
587
PR 合併指標
30 天內沒有已合併 PR

描述

For example current user api handler [link](https://github.com/KnpLabs/php-github-api/blob/master/lib/Github/Api/CurrentUser.php#L122) in `type` field has `owner` value as default but according github api we [link](https://developer.github.com/v3/repos/#list-your-repositories) have `all` as default.

P.S If necessary, I can fix it by PR.

Thanks for this awesome library.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Start in lib/Github/Api/CurrentUser.php at the referenced line and compare the type field's default with the linked GitHub API documentation. Confirm the intended default and verify that the current-user repository request uses the documented value; done means the implementation and its behavior match the documentation.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
php
領域
api
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
描述清楚
新手友好度
50/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。