gogs/go-gogs-client

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.

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....