debian-mirror-gitlab/app/serializers/test_suite_summary_entity.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
343 B
Ruby
Raw Normal View History

2020-07-28 23:09:34 +05:30
# frozen_string_literal: true
class TestSuiteSummaryEntity < TestSuiteEntity
2023-01-13 00:05:48 +05:30
expose :build_ids, documentation: { type: 'integer', is_array: true, example: [66004] } do |summary|
2020-07-28 23:09:34 +05:30
summary.build_ids
end
2021-04-17 20:07:23 +05:30
2023-01-13 00:05:48 +05:30
expose :suite_error,
documentation: { type: 'string', example: 'JUnit XML parsing failed: 1:1: FATAL: Document is empty' }
2020-07-28 23:09:34 +05:30
end