fix: minor foo

This commit is contained in:
Philipp Rothmann 2023-01-02 13:05:43 +01:00
parent 18358484ba
commit 619fdbe958
4 changed files with 10 additions and 8 deletions

View file

@ -79,7 +79,12 @@ module ApiHelper
def self.q_ordered_url_param
parameter name: :q, in: :query, required: false,
description: "'member' show articles ordered by the user's ordergroup, 'all' by all members, and 'supplier' ordered at the supplier",
schema: { '$ref' => '#/components/schemas/q_ordered' }
schema: {
type: :object,
properties: {
ordered: { '$ref' => '#/components/schemas/q_ordered' }
}
}
end
end
end