rest.js icon indicating copy to clipboard operation
rest.js copied to clipboard

Missing required properties for `Create Check Run` in docs

Open oscard0m opened this issue 4 years ago • 1 comments

What happened? Missing required properties for

octokit.rest.checks.create({
  owner,
  repo,
});

According to GitHub Documentation, name and head_sha are required body parameters to be passed.

Minimal test case to reproduce the problem You can see the error in Docs' table https://octokit.github.io/rest.js/v18#checks-create

What did you expect to happen? To get the right parameters marked as required in docs.

What the problem might be Details here: https://github.com/octokit/plugin-rest-endpoint-methods.js/issues/441

oscard0m avatar Sep 07 '21 20:09 oscard0m

Tagging @inesilva since we discovered together

oscard0m avatar Sep 07 '21 21:09 oscard0m