Skip to content

Commit

Permalink
fix(APIv2): RHINENG-13402 enable multidimensional sort in OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
romanblanco committed Oct 7, 2024
1 parent 8a9fdda commit 3160480
Show file tree
Hide file tree
Showing 2 changed files with 4,653 additions and 4,617 deletions.
2 changes: 1 addition & 1 deletion spec/swagger_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def sort_params(model = nil)
end

def sort_params_v2(model = nil, except: [])
parameter name: :sort_by, in: :query, required: false,
parameter name: :sort_by, in: :query, required: false, style: :form, explode: true,
description: 'Attribute and direction to sort the items by. ' \
'Represented by an array of fields with an optional direction ' \
'(`<key>:asc` or `<key>:desc`).<br><br>' \
Expand Down
Loading

0 comments on commit 3160480

Please sign in to comment.