                           rook/wrap-with-standard-middleware))
 
     (with-all server (jet/run-jetty {:ring-handler @handler
-                                     :join? false
-                                     :port 8192}))
+                                     :join?        false
+                                     :port         8192}))
 
     (it "can start the server"
         (should-not-be-nil @server))

            [qbits.jet.server :as jet]
            [clojure.tools.logging :as l]))

#_ (defn- swagger-data [options & ns-specs]
  (let [[_ routing-table] (d/construct-namespace-handler options ns-specs)]
    (rs/construct-swagger routing-table)))

(defn get*
  [path]

  data)

(def expected-swagger-data
  {})

(describe "io.aviso.rook.swagger"

  (it "can construct swagger data"
      (let [data (swagger-object nil nil
                                 ["hotels" 'hotels
                                  [[:hotel-id "rooms"] 'rooms]])]
        #_ (should= expected-swagger-data data)))

  #_ (context "end-to-end (synchronous)"

    (with-all handler (-> (rook/namespace-handler {:swagger true}
                                                  ["hotels" 'hotels
