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

package_metadata.rb « nuget « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e1c2a1ae161f2544030c6b970fefbd1148a6dfc6 (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 PackageMetadata < Grape::Entity
        expose :json_url, as: :@id
        expose :archive_url, as: :packageContent
        expose :catalog_entry, as: :catalogEntry, using: ::API::Entities::Nuget::PackageMetadataCatalogEntry
      end
    end
  end
end