diff options
Diffstat (limited to 'lib/api/entities/ci/pipeline_with_metadata.rb')
-rw-r--r-- | lib/api/entities/ci/pipeline_with_metadata.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/api/entities/ci/pipeline_with_metadata.rb b/lib/api/entities/ci/pipeline_with_metadata.rb index a8b1d81a053..31604f33fc1 100644 --- a/lib/api/entities/ci/pipeline_with_metadata.rb +++ b/lib/api/entities/ci/pipeline_with_metadata.rb @@ -5,8 +5,7 @@ module API module Ci class PipelineWithMetadata < Pipeline expose :name, - documentation: { type: 'string', example: 'Build pipeline' }, - if: ->(pipeline, _) { ::Feature.enabled?(:pipeline_name_in_api, pipeline.project) } + documentation: { type: 'string', example: 'Build pipeline' } end end end |