changed doc comment for get labels of a project

parent 85b5812b
......@@ -216,10 +216,12 @@ module API
present @users, with: Entities::User
end
# Get a labels list
# Get a project labels
#
# Parameters:
# id (required) - The ID of a project
# Example Request:
# GET /users
# GET /projects/:id/labels
get ':id/labels' do
@labels = user_project.issues_labels
present @labels, with: Entities::Label
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment