KnpLabs / KnpLabs/php-github-api

Why defaults don't match the github doc?

Đang mở
#799 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
PHP
Star
2.2k
Fork
587
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
php
Lĩnh vực
api
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
50/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.