diff options
author | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-09-07 13:54:02 +0300 |
---|---|---|
committer | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-09-07 13:54:02 +0300 |
commit | ea48310579385c86cd6da9663e8150701707452d (patch) | |
tree | 4c4a676e9f51d65e405c7feaf06550203222ca27 /lib/api | |
parent | dac4c5bb5389b123a046d0e861443e124dc0e059 (diff) |
Improve curl commend, remove blank lines
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/lint.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/api/lint.rb b/lib/api/lint.rb index 8a7ced2d34d..ae43a4a3237 100644 --- a/lib/api/lint.rb +++ b/lib/api/lint.rb @@ -1,12 +1,10 @@ module API class Lint < Grape::API - namespace :ci do desc 'Validation of .gitlab-ci.yml content' params do requires :content, type: String, desc: 'Content of .gitlab-ci.yml' end - post '/lint' do error = Ci::GitlabCiYamlProcessor.validation_message(params[:content]) |