Skip to content

Commit

Permalink
backport methods var deref
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed May 27, 2024
1 parent 0c48047 commit 8d3c17d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/compojure/api/resource.clj
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
(ns compojure.api.resource
(:require [compojure.api.routes :as routes]
[compojure.api.coerce :as coerce]
[compojure.api.methods :as methods]
[ring.swagger.common :as rsc]
[schema.core :as s]
[plumbing.core :as p]
[compojure.api.middleware :as mw]))

(def ^:private +mappings+
{:methods #{:get :head :patch :delete :options :post :put}
{:methods methods/all-methods
:parameters {:query-params [:query-params :query :string true]
:body-params [:body-params :body :body false]
:form-params [:form-params :formData :string true]
Expand Down

0 comments on commit 8d3c17d

Please sign in to comment.