   {:description "a list of forex rates"
    :required ["rates"]
    :name "Rates"
-   :properties {:rates {:type "array",
-                        :items {:type "string"}}}})
+   :properties {:rates {:type "array" :items {:type "string"}}}})
 
 (def error-definition
   {:required ["code" "message"],

  {:description "a list of forex rates"
   :required ["rates"]
   :name "Rates"
   :properties {:rates {:type "array",
                        :items {:$ref "#/definitions/Rate"}}}})

(def definition-with-array
  {:description "Something"


(def error-definition-with-optional-params
  {:required [],
   :properties {:code {:type "integer"} :message {:type "string"}}
   :name "Error"})

(def simple-route
