debian-mirror-gitlab/lib/api/entities/go_module_version.rb

11 lines
303 B
Ruby
Raw Normal View History

2020-07-28 23:09:34 +05:30
# frozen_string_literal: true
module API
module Entities
class GoModuleVersion < Grape::Entity
2023-01-13 00:05:48 +05:30
expose :name, as: 'Version', documentation: { type: 'string', example: 'v1.0.0' }
expose :time, as: 'Time', documentation: { type: 'string', example: '1617822312 -0600' }
2020-07-28 23:09:34 +05:30
end
end
end