Closed
Description
When change one of the parameters of out API as dependent to another one, the post duration increased from ~30 seconds to ~600 seconds. Is this normal?
Our model is deeply nested but both the dependee and depender are on the first level.
params do
optional :matrix
given matrix: ->(val) { val.nil? || val.empty? } do
requires :vehicle, type: Hash do
requires :router_mode, type: String
end
end
given matrix: ->(val) { val.any? } do
requires :vehicle, type: Hash do
optional :matrix_id, type: String
optional :router_mode, type: String
exactly_one_of :matrix_id, :router_mode
end
end
end