Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-11 15:08:16 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-11 15:08:16 +0300
commit2761b4465bb13e170f0b8b2941d83f356a47eee6 (patch)
tree9a34e185671e7a9afe8720c8eafc6a3319a63c97 /app/serializers/test_suite_summary_entity.rb
parent43e40e8daaceafb9b78fde9ac5ce97584a210a90 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/serializers/test_suite_summary_entity.rb')
-rw-r--r--app/serializers/test_suite_summary_entity.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/serializers/test_suite_summary_entity.rb b/app/serializers/test_suite_summary_entity.rb
index 228c6e499fe..3a9ccb22713 100644
--- a/app/serializers/test_suite_summary_entity.rb
+++ b/app/serializers/test_suite_summary_entity.rb
@@ -1,9 +1,10 @@
# frozen_string_literal: true
class TestSuiteSummaryEntity < TestSuiteEntity
- expose :build_ids do |summary|
+ expose :build_ids, documentation: { type: 'integer', is_array: true, example: [66004] } do |summary|
summary.build_ids
end
- expose :suite_error
+ expose :suite_error,
+ documentation: { type: 'string', example: 'JUnit XML parsing failed: 1:1: FATAL: Document is empty' }
end