   data)
 
 (def expected-swagger-data
-  {"/hotels"
-   {:description "The Hotels Resource."
-    :routes      [{:method :get
-                   :uri    "/hotels"
-                   :metadata
-                           {:summary          "Returns a list of all hotels, with control over sort order."
-                            :return           200
-                            :responseMessages [{:code          200
-                                                :message       ""
-                                                :responseModel [{:id         UUID
-                                                                 :created_at Date
-                                                                 :updated_at Date
-                                                                 :name       String}]}]
-                            :parameters       []}}
-                  {:method :get
-                   :uri    "/hotels/{id}"
-                   :metadata
-                           {:summary          "Returns a single hotel, if found."
-                            :return           200
-                            :responseMessages [{:code          200
-                                                :message       ""
-                                                :responseModel {:id         UUID
-                                                                :created_at Date
-                                                                :updated_at Date
-                                                                :name       String}}
-                                               {:code          404
-                                                :message       ""
-                                                :responseModel nil}]
-                            :parameters       [{:type  :path
-                                                :model {:id String}}]}}]}
-   "/hotels/{hotel-id}/rooms"
-   {:description "A set of rooms within a specific hotel."
-    :routes      [{:method :post
-                   :uri    "/hotels/{hotel-id}/rooms"
-                   :metadata
-                           {:summary          "No endpoint description provided."
-                            :return           nil
-                            :responseMessages ()
-                            :parameters
-                                              [{:type  :path
-                                                :model {:hotel-id String}}]}}]}})
+  {})
 
-#_ (describe "io.aviso.rook.swagger"
+(describe "io.aviso.rook.swagger"
 
   (it "can construct swagger data"
-      (let [data (swagger-data nil
-                               ["hotels" 'hotels
-                                [[:hotel-id "rooms"] 'rooms]])]
-        (should= expected-swagger-data data)))
+      (let [data (swagger-object nil nil
+                                 ["hotels" 'hotels
+                                  [[:hotel-id "rooms"] 'rooms]])]
+        #_ (should= expected-swagger-data data)))
 
-  (context "end-to-end (synchronous)"
+  #_ (context "end-to-end (synchronous)"
 
     (with-all handler (-> (rook/namespace-handler {:swagger true}
                                                   ["hotels" 'hotels

(ns rook.swagger-spec
  (:import [java.util UUID Date]
           [javax.servlet.http HttpServletResponse])
  (:use io.aviso.rook
        speclj.core
        clojure.template
        clojure.pprint)
  (:require [io.aviso.rook.dispatcher :as d]

                          rook/wrap-with-standard-middleware))

    (with-all server (jet/run-jetty {:ring-handler @handler
                                     :join?        false
                                     :port         8192}))

    (it "can start the server"
        (should-not-be-nil @server))
