Closed
Description
I believe scope nesting for the api request parameters are either not properly documented, or broken.
I am trying to do something similar to below:
get '/api/something" do
parameter :person, "description", scope: :company
parameter :name, "description", scope: [:company, :person]
end
for a parameter like this -> company[person][name]
but instead it creates something similar to this -> [:company, :person][name] [:company, :person][name]
and yes, there's 2 of the parameter names above this line
I could definitely be wrong and that this feature is already implemented, I'm just using it wrong. If I am, please let me know.
Metadata
Metadata
Assignees
Labels
No labels