Wiki Page for Issue Label is missing parameter section for adding a label to an issue
hhenkel opened this issue · 4 comments
https://github.com/gogits/go-gogs-client/wiki/Issues-Labels#add-labels-to-an-issue describes a POST request and from the context it seems to require a parameter "labels" from the type array.
Example of https://github.com/gogits/go-gogs-client/wiki/Issues-Labels#add-labels-to-an-issue is given, https://github.com/gogits/go-gogs-client/wiki/Issues-Labels#remove-a-label-from-an-issue does not need parameter.
If you want to be somehow consistent you then need to decide which route to go as for https://github.com/gogits/go-gogs-client/wiki/Issues-Labels#create-a-label you're providing information on the parameters and an example. The remove actions seems to need a parameter - at least the example suggests that.
I'm even struggling which tool to host API docs....