KnpLabs / KnpLabs/php-github-api

Why defaults don't match the github doc?

Aperta
#799 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
PHP
Stelle
2.2k
Fork
587
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
php
Ambito
api
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
50/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.