refactor path and query parameter editor