                                      [:properties k])]
                           [acc-so' (cond-> (assoc-in acc-schema path swagger-schema)
                                            required? (update-in [:required] conj k))])))))
-        base (remove-nil-vals {:description (or (-> schema meta :description)
-                                                (-> schema meta :doc))})]
+        base    (remove-nil-vals {:description (or (-> schema meta :description)
+                                                   (-> schema meta :doc))})]
     (reduce reducer [swagger-object base] schema)))
 
 ;; Can we merge simple->swagger-schema and ->swagger-schema?

  Returns the modified swagger-object."
  [swagger-options swagger-object routing-entry paths-key]
  (let [{endpoint-meta :meta} routing-entry
        swagger-meta (:swagger endpoint-meta)
        description (or (:description swagger-meta)
                        (:doc endpoint-meta))
        summary (:summary swagger-meta)
        path-params-injector (:path-params-injector swagger-options)
        query-params-injector (:query-params-injector swagger-options)
        body-params-injector (:body-params-injector swagger-options)
        responses-injector (:responses-injector swagger-options)
        params-key (concat paths-key ["parameters"])]
    (as-> swagger-object %
          (assoc-in % paths-key
                    (remove-nil-vals {:description  description
                                      :summary      summary
                                      ;; This is required inside a Operation object:
                                      :responses    {}
                                      ;; This aligns very nicely with Rook:
                                      :operation-id (:function endpoint-meta)}))
          (path-params-injector swagger-options % routing-entry params-key)

    #(format "Describing endpoint %s `/%s'."
             (-> routing-entry :method name .toUpperCase)
             (->> routing-entry :path (str/join "/")))
    (let [path-str        (-> routing-entry :path path->str)
          ;; Ignoring :all for the moment.
          method-str      (-> routing-entry :method name)
          pio-constructor (:path-item-object-injector swagger-options)]
      ;; Invoke the constructor for the path info. It may need to make changes to the :definitions, so we have
      ;; to let it modify the entire Swagger object ... but we help it out by providing the path
