             return super.path{% for param in pathParams %}.replacingOccurrences(of: "{" + "{{ param.name }}" + "}", with: "\(self.options.{{ param.encodedValue }})"){% endfor %}
         }
         {% endif %}
+        {% if bodyParam or nonBodyParams %}
 
         public override var parameters: [String: Any] {
             {% if bodyParam %}

            var params: JSONDictionary = [:]
            {% for param in nonBodyParams %}
            {% if param.optional %}
            if let {{ param.formattedName }} = self.options.{{ param.encodedValue }} {
              params["{{ param.value }}"] = {{ param.formattedName }}
            }
            {% else %}
            params["{{ param.value }}"] = self.options.{{ param.encodedValue }}
            {% endif %}
            {% endfor %}
            return params
            {% endif %}
            {% if not bodyParam and not nonBodyParams  %}
            return [:]
            {% endif %}
        }
    }
}

        }

        public var options: Options
        {% endif %}
        {% if bodyParam %}

