 
 (defn to-schema-reference
   "Converts a schema to a schema reference; the schema must be named.  Returns a tuple
-  of the possibly updated swagger object and a string reference to the schema within the swagger object
-  (as a path string)."
+  of the possibly updated swagger object and a Swagger schema definition (or a \"$ref\" map)."
   [swagger-options swagger-object schema]
   (cond-let
+    (or (nil? schema) (= s/Any schema))
+    [swagger-object nil]
+
     (instance? APersistentVector schema)
     (let [[object' item-reference] (to-schema-reference swagger-options swagger-object (first schema))]
       [object' {:type  :array

                    (let [schema-meta (meta schema)
                          description (or (:description schema-meta)
                                          (:doc schema-meta)
                                          "Documentation not provided.")]
                      (assoc-in so (concat paths-key [:responses (str status-code)]) {:description description}))))]
    (reduce reducer swagger-object responses)))

(defn default-path-item-object-injector

            [medley.core :as medley]
            [io.aviso.toolchest.macros :refer [cond-let]]
            [io.aviso.toolchest.collections :refer [pretty-print]]
            [io.aviso.tracker :as t])
  (:import [schema.core EnumSchema Maybe]
           [io.aviso.rook.schema IsInstance]
           [clojure.lang APersistentVector]))

(defn- remove-nil-vals
  [m]
