debian-mirror-gitlab/lib/api/entities/nuget/packages_metadata_item.rb
2020-08-09 17:41:57 +05:30

15 lines
401 B
Ruby

# frozen_string_literal: true
module API
module Entities
module Nuget
class PackagesMetadataItem < Grape::Entity
expose :json_url, as: :@id
expose :lower_version, as: :lower
expose :upper_version, as: :upper
expose :packages_count, as: :count
expose :packages, as: :items, using: ::API::Entities::Nuget::PackageMetadata
end
end
end
end