blob: 117904a1affbfd1d1c0d263f7c9ff7592758d8cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
module API
module Entities
module Nuget
class SearchResults < Grape::Entity
expose :total_count, as: :totalHits, documentation: { type: 'integer', example: 1 }
expose :data, using: ::API::Entities::Nuget::SearchResult,
documentation: { is_array: true, type: 'API::Entities::Nuget::SearchResult' }
end
end
end
end
|