KnpLabs / KnpLabs/php-github-api

Why defaults don't match the github doc?

Aberta
#799 3 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
PHP
Estrelas
2.2k
Forks
587
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
php
Domínio
api
Tipo de issue
Bug
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Estagnada
Clareza
Claramente especificada
Facilidade para iniciantes
50/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.