Closed manchicken closed 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.
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.
Endpoint
DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels
has statuses 204,301,404,410: Remove all labels from an issue