debian-mirror-gitlab/lib/api/entities/nuget/service_index.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
473 B
Ruby
Raw Normal View History

2020-07-28 23:09:34 +05:30
# frozen_string_literal: true
module API
module Entities
module Nuget
class ServiceIndex < Grape::Entity
2023-03-04 22:38:38 +05:30
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."}' }
2020-07-28 23:09:34 +05:30
end
end
end
end