gr2m / gr2m/github-api-wishlist

Make sure that all endpoints that accept request body parameters can only receive an object

Aperta
#9 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
7
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The latest version of the OpenAPI spec allows the request body to be set to an array of strings in some cases (e.g. `POST /repos/{owner}/{repo}/issues/{issue_number}/labels`). These are no longer documented as far as I know and are there for legacy reasons, but having them be part of the OpenAPI spec makes it hard to generate usable SDKs / types from it.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.