Welcome to mirror list, hosted at ThFree Co, Russian Federation.

go_module_version.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b9dd88982ddf014509def6cbc0cf380f2a13aae0 (plain)
1
2
3
4
5
6
7
8
9
10
# 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