Commit e153469f31db106d0720e357a5e22431635f2b9e

Authored by Ábner Oliveira
1 parent 85b5812b

changed doc comment for get labels of a project

Showing 1 changed file with 4 additions and 2 deletions   Show diff stats
lib/api/projects.rb
... ... @@ -216,10 +216,12 @@ module API
216 216 present @users, with: Entities::User
217 217 end
218 218  
219   - # Get a labels list
  219 + # Get a project labels
220 220 #
  221 + # Parameters:
  222 + # id (required) - The ID of a project
221 223 # Example Request:
222   - # GET /users
  224 + # GET /projects/:id/labels
223 225 get ':id/labels' do
224 226 @labels = user_project.issues_labels
225 227 present @labels, with: Entities::Label
... ...