summaryrefslogtreecommitdiff
path: root/lib/api/entities/nuget/dependency.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/nuget/dependency.rb')
-rw-r--r--lib/api/entities/nuget/dependency.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/api/entities/nuget/dependency.rb b/lib/api/entities/nuget/dependency.rb
new file mode 100644
index 00000000000..b61c37f5882
--- /dev/null
+++ b/lib/api/entities/nuget/dependency.rb
@@ -0,0 +1,14 @@
+# frozen_string_literal: true
+
+module API
+ module Entities
+ module Nuget
+ class Dependency < Grape::Entity
+ expose :id, as: :@id
+ expose :type, as: :@type
+ expose :name, as: :id
+ expose :range
+ end
+ end
+ end
+end