12 lines
339 B
Ruby
12 lines
339 B
Ruby
# frozen_string_literal: true
|
|
|
|
module API
|
|
module Entities
|
|
# deprecated old Release representation
|
|
class TagRelease < Grape::Entity
|
|
expose :tag, as: :tag_name, documentation: { type: 'string', example: '1.0.0' }
|
|
expose :description, documentation: { type: 'string', example: 'Amazing release. Wow' }
|
|
end
|
|
end
|
|
end
|