github
0 of 18 new or added lines in 4 files covered. (0.0%)
3922 existing lines in 105 files now uncovered.0 of 4086 relevant lines covered (0.0%)
0.0 hits per line
1 |
# frozen_string_literal: true
|
|
2 |
|
|
UNCOV
3
|
class ApplicationSerializer < ActiveModel::Serializer |
× |
4 |
|
|
UNCOV
5
|
include Rails.application.routes.url_helpers
|
× |
UNCOV
6
|
include Swagger::Blocks |
× |
7 |
|
|
UNCOV
8
|
class << self |
× |
9 |
|
|
UNCOV
10
|
def json_api_swagger_schema(&block) |
× |
UNCOV
11
|
swagger_schema(name.gsub(/Serializer$/, '')) do |
× |
UNCOV
12
|
property :id, type: :integer |
× |
UNCOV
13
|
property :type, type: :string |
× |
UNCOV
14
|
instance_eval(&block) |
× |
UNCOV
15
|
end
|
× |
UNCOV
16
|
end
|
× |
17 |
|
|
UNCOV
18
|
end
|
× |
19 |
|
|
UNCOV
20
|
end
|
× |