                            {:status 200, :body {:total (+ x y)}})}}]]
 
        ["/schema" {:coercion schema/coercion}
-
-        ["/minus"
-         {:get {:summary "minus"
-                :parameters {:query {:x Long, :y Long}}
-                :responses {200 {:body {:total Long}}}
-                :handler (fn [{{{:keys [x y]} :query} :parameters}]
-                           {:status 200, :body {:total (- x y)}})}}]
-
         ["/plus"
          {:get {:summary "plus"
-                :parameters {:query {:x Long, :y Long}}
-                :responses {200 {:body {:total Long}}}
+                :parameters {:query {:x Int, :y Int}}
+                :responses {200 {:body {:total Int}}}
                 :handler (fn [{{{:keys [x y]} :query} :parameters}]
                            {:status 200, :body {:total (+ x y)}})}}]]]
 

             (app
               {:request-method :get
                :uri "/api/spec/plus"
                :query-params {:x "2", :y "1"}})))
      (is (= {:body {:total 1}, :status 200}
             (app
               {:request-method :get
                :uri "/api/spec/minus"
                :query-params {:x "2", :y "1"}}))))
    (testing "schema"
      (is (= {:body {:total 3}, :status 200}
             (app
               {:request-method :get
                :uri "/api/schema/plus"
                :query-params {:x "2", :y "1"}})))
      (is (= {:body {:total 1}, :status 200}
             (app
               {:request-method :get
                :uri "/api/schema/minus"
                :query-params {:x "2", :y "1"}})))))
  (testing "swagger-spec"
    (let [spec (:body (app

                         :uri "/api/swagger.json"}))]
      (is (= {:x-id ::math
              :info {:title "my-api"}
              :paths {"/api/schema/plus" {:get {:summary "plus"}} ;; TODO: implement!
                      "/api/spec/plus" {:get {:parameters [{:description ""
                                                            :format "int64"
                                                            :in "query"
