gr2m / gr2m/github-api-wishlist

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

Open
#9 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
7
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.