Commit 154ed83e authored by Nick Kipling's avatar Nick Kipling

Aligning description indentation

parent d0811dbb
......@@ -21,13 +21,13 @@ module API
params do
use :pagination
optional :order_by, type: String, values: %w[created_at name version type], default: 'created_at',
desc: 'Return packages ordered by `created_at`, `name`, `version` or `type` fields.'
desc: 'Return packages ordered by `created_at`, `name`, `version` or `type` fields.'
optional :sort, type: String, values: %w[asc desc], default: 'asc',
desc: 'Return packages sorted in `asc` or `desc` order.'
optional :package_type, type: String, values: %w[conan maven npm nuget],
desc: 'Return packages of a certain type'
desc: 'Return packages of a certain type'
optional :package_name, type: String,
desc: 'Return packages with this name'
desc: 'Return packages with this name'
end
get ':id/packages' do
packages = ::Packages::PackagesFinder
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment