2020-07-28 23:09:34 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module API
|
|
|
|
module Entities
|
|
|
|
module ConanPackage
|
|
|
|
class ConanPackageSnapshot < Grape::Entity
|
2023-03-04 22:38:38 +05:30
|
|
|
expose :package_snapshot, merge: true,
|
|
|
|
documentation: {
|
|
|
|
type: 'object',
|
|
|
|
example: '{ "conan_package.tgz": "749b29bdf72587081ca03ec033ee59dc" }'
|
|
|
|
}
|
2020-07-28 23:09:34 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|