summaryrefslogtreecommitdiff
path: root/lib/api/entities/nuget/dependency_group.rb
blob: dcab9359fcf344e6f2d18fa714c8a161af32b71e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module API
  module Entities
    module Nuget
      class DependencyGroup < Grape::Entity
        expose :id, as: :@id
        expose :type, as: :@type
        expose :target_framework, as: :targetFramework, expose_nil: false
        expose :dependencies, using: ::API::Entities::Nuget::Dependency
      end
    end
  end
end