changed doc comment for get labels of a project

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册