Closed
Description
Take the following example:
params do
optional :preferences, type: Array do
requires :key
requires :value
end
requires :name, type: Hash do
requires :first_name
requires :last_name
end
end
In swagger-ui, there would be an empty text field for preferences
and name
. Is this suppoed to be this way ? Tested using the github version of grape
and grape-swagger
.
Thanks