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

service_index.rb « nuget « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4ab6c5ddc8bd0207b07e09b367e64a7c83907eeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module API
  module Entities
    module Nuget
      class ServiceIndex < Grape::Entity
        expose :version, documentation: { type: 'string', example: '1.3.0.17' }
        expose :resources, documentation: { type: 'object', is_array: true, example: '{ "@id": "https://gitlab.com/api/v4/projects/1/packages/nuget/query", "@type": "SearchQueryService", "comment": "Filter and search for packages by keyword."}' }
      end
    end
  end
end