debian-mirror-gitlab/lib/api/entities/nuget/packages_metadata.rb
2023-03-04 22:38:38 +05:30

13 lines
405 B
Ruby

# frozen_string_literal: true
module API
module Entities
module Nuget
class PackagesMetadata < Grape::Entity
expose :count, documentation: { type: 'integer', example: 1 }
expose :items, using: ::API::Entities::Nuget::PackagesMetadataItem,
documentation: { is_array: true, type: 'API::Entities::Nuget::PackagesMetadataItem' }
end
end
end
end