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

Aligning description indentation

parent d0811dbb
...@@ -21,13 +21,13 @@ module API ...@@ -21,13 +21,13 @@ module API
params do params do
use :pagination use :pagination
optional :order_by, type: String, values: %w[created_at name version type], default: 'created_at', 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', optional :sort, type: String, values: %w[asc desc], default: 'asc',
desc: 'Return packages sorted in `asc` or `desc` order.' desc: 'Return packages sorted in `asc` or `desc` order.'
optional :package_type, type: String, values: %w[conan maven npm nuget], 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, optional :package_name, type: String,
desc: 'Return packages with this name' desc: 'Return packages with this name'
end end
get ':id/packages' do get ':id/packages' do
packages = ::Packages::PackagesFinder 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