 
   nil or s/Any returns nil.
 
-
   Typically, the result of this is wrapped inside map with key :schema."
   [swagger-options swagger-object schema]
   (cond-let

   :route-injector                 default-route-injector
   :configurer                     default-configurer
   :data-type-mappings             default-data-type-mappings
   :path-item-object-injector      default-path-item-object-injector
   :path-params-injector           default-path-params-injector
   :query-params-injector          default-query-params-injector
   :body-params-injector           default-body-params-injector
   :responses-injector             default-responses-injector})

(defn construct-swagger-object
  "Constructs the root Swagger object from the Rook options, swagger options, and the routing table

  "Uses the :responses metadata to identify possible responses."
  [swagger-options swagger-object routing-entry paths-key]
  (let [responses (-> routing-entry :meta :responses)
        decorator (:response-decorator swagger-options)
        reducer   (fn [so [status-code schema]]
                    (t/track
                      #(format "Describing %d response." status-code)
