debian-mirror-gitlab/lib/api/entities/go_module_version.rb
2023-01-12 18:35:48 +00:00

10 lines
303 B
Ruby

# frozen_string_literal: true
module API
module Entities
class GoModuleVersion < Grape::Entity
expose :name, as: 'Version', documentation: { type: 'string', example: 'v1.0.0' }
expose :time, as: 'Time', documentation: { type: 'string', example: '1617822312 -0600' }
end
end
end