Welcome to mirror list, hosted at ThFree Co, Russian Federation.

packages_metadata_item.rb « nuget « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 84cc79166f3c2f8b7ffffc33da213f97e33567a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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