mirror of
https://github.com/metosin/reitit.git
synced 2025-12-27 03:48:25 +00:00
Removed hard dependency on metosin/ring-http-response.
Use fully-qualified keyword rather referring via required alias, avoiding adding dependency.
This commit is contained in:
parent
5aac69f563
commit
b648c73dcb
2 changed files with 3 additions and 5 deletions
|
|
@ -2,8 +2,7 @@
|
|||
(:require [reitit.coercion :as coercion]
|
||||
[reitit.ring :as ring]
|
||||
[clojure.spec.alpha :as s]
|
||||
[clojure.string :as str]
|
||||
[ring.util.http-response :as http-response])
|
||||
[clojure.string :as str])
|
||||
(:import (java.time Instant)
|
||||
(java.io PrintWriter)))
|
||||
|
||||
|
|
@ -99,7 +98,7 @@
|
|||
(def default-handlers
|
||||
{::default default-handler
|
||||
::ring/response http-response-handler
|
||||
::http-response/response http-response-handler
|
||||
:ring.util.http-response/response http-response-handler
|
||||
:muuntaja/decode request-parsing-handler
|
||||
::coercion/request-coercion (create-coercion-handler 400)
|
||||
::coercion/response-coercion (create-coercion-handler 500)})
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
[metosin/reitit-frontend "0.3.10"]
|
||||
[metosin/reitit-sieppari "0.3.10"]
|
||||
[metosin/reitit-pedestal "0.3.10"]
|
||||
[metosin/ring-http-response "0.9.1"]
|
||||
[metosin/ring-swagger-ui "2.2.10"]
|
||||
[metosin/spec-tools "0.10.0"]
|
||||
[metosin/schema-tools "0.12.0"]
|
||||
|
|
@ -90,8 +89,8 @@
|
|||
|
||||
[ring "1.7.1"]
|
||||
[ikitommi/immutant-web "3.0.0-alpha1"]
|
||||
[metosin/ring-swagger-ui "2.2.10"]
|
||||
[metosin/ring-http-response "0.9.1"]
|
||||
[metosin/ring-swagger-ui "2.2.10"]
|
||||
[metosin/muuntaja]
|
||||
[metosin/sieppari]
|
||||
[metosin/jsonista]
|
||||
|
|
|
|||
Loading…
Reference in a new issue