remove query attribute

Since the parameters attribute can still include
path params, it makes sense to put the query params
there too.