debian-mirror-gitlab/lib/api/entities/nuget/packages_metadata.rb

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

14 lines
405 B
Ruby
Raw Normal View History

2020-07-28 23:09:34 +05:30
# frozen_string_literal: true
module API
module Entities
module Nuget
class PackagesMetadata < Grape::Entity
2023-03-04 22:38:38 +05:30
expose :count, documentation: { type: 'integer', example: 1 }
expose :items, using: ::API::Entities::Nuget::PackagesMetadataItem,
documentation: { is_array: true, type: 'API::Entities::Nuget::PackagesMetadataItem' }
2020-07-28 23:09:34 +05:30
end
end
end
end