diff --git a/README.md b/README.md index c65bbaab..fddeab22 100644 --- a/README.md +++ b/README.md @@ -70,8 +70,7 @@ A Ring routing app with input & output coercion using [data-specs](https://githu (ring/ring-handler (ring/router ["/api" - ["/math" {:name ::math - :get {:coercion reitit.coercion.spec/coercion + ["/math" {:get {:coercion reitit.coercion.spec/coercion :parameters {:query {:x int?, :y int?}} :responses {200 {:schema {:total pos-int?}}} :handler (fn [{{{:keys [x y]} :query} :parameters}] @@ -113,18 +112,6 @@ Invalid request: ``` -Reverse routing: - -```clj -(require '[reitit.core :as r]) - -(-> app - (ring/get-router) - (r/match-by-name ::math) - :path) -;; "/api/math" -``` - ## More info [Check out the full documentation!](https://metosin.github.io/reitit/)