manchicken / octocrab

A modern, extensible GitHub API Client for Rust.
Other
0 stars 0 forks source link

DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels #179

Closed manchicken closed 7 months ago

manchicken commented 8 months ago

Endpoint DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels has statuses 204,301,404,410: Remove all labels from an issue

manchicken commented 7 months ago

Code is at src/api/issues.rs L367. It does not look like this test covers the 204 case, and there are no tests.

manchicken commented 7 months ago

This endpoint lacks a semantic API function. This function was mistaken for the endpoint which deletes individual labels.

There does not seem to be a function to delete all labels from an issue.