   "Removes keys that are equaly to s/Any."
   [m]
   (medley/remove-vals #(= s/Any %) m))
+
+
 
 (def default-swagger-template
   "A base skeleton for a Swagger Object (as per the Swagger 2.0 specification), that is further populated from Rook namespace

    (some? data)
    [swagger-object data]

    (instance? EnumSchema schema)
    [swagger-object {:type :string                          ; an assumption
                     :enum (unwrap-schema schema)}]

    (instance? Maybe schema)
    (let [[swagger-object' swagger-schema] (simple->swagger-schema swagger-options swagger-object (unwrap-schema schema))]
      [swagger-object' (assoc swagger-schema :allowEmptyValue true)])

    ;; The i.a.r.schema/with-description macro often turns bare classes into an IsInstance
    (instance? IsInstance schema)
    (recur swagger-options swagger-object (unwrap-schema schema))

    ;; TODO: arrays

    :else
    (throw (ex-info "Unable to convert schema to Swagger."
                    {:schema schema}))))

(defn default-query-params-injector
  "Identifies each query parameter via the :query-schema metadata and injects it."

    (or (nil? schema) (= s/Any schema))
    [swagger-object nil]

    (vector? schema)
    (let [[object' item-reference] (->swagger-schema swagger-options swagger-object (first schema))]
      [object' {:type  :array
                :items item-reference}])
