This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-16
Channels
- # aatree (1)
- # admin-announcements (6)
- # alda (3)
- # beginners (66)
- # boot (41)
- # cider (4)
- # cljsjs (3)
- # cljsrn (18)
- # clojure (146)
- # clojure-android (2)
- # clojure-nl (1)
- # clojure-russia (35)
- # clojure-sdn (2)
- # clojure-sg (5)
- # clojure-uk (41)
- # clojurescript (116)
- # datomic (12)
- # dirac (40)
- # docker (2)
- # editors (2)
- # hoplon (85)
- # immutant (19)
- # jobs (1)
- # keechma (2)
- # lein-figwheel (8)
- # mount (33)
- # off-topic (1)
- # om (114)
- # onyx (159)
- # parinfer (24)
- # proton (3)
- # reagent (4)
- # ring-swagger (15)
- # uncomplicate (7)
- # untangled (93)
- # yada (30)
@mikecarter: not directly, but you could do it yourself as a a) middleware b) custom meta-data handler
with b it would be something like:
(POST “/something” []
:exists? my-rule-here
(ok …))
Still looking forward to comments on the c-api Liberator support (https://github.com/metosin/compojure-api/issues/185). Could finalize it this week.
Next up on the roadmap could be the buddy-integration for authentication & authorization.
@ikitommi: thanks, will give it a go!
All of the routes are defined and everything is functioning correctly. I just get an extra route, Let me throw the routes up here
@john.carnell: clearly a bug -> the (GET “/“ [] …)
at api root fails to resolve into a meaningful uri for the swagger-docs. Could you write an issue out of it so it gets fixed?
but I guess you do not want to put the redirect into the swagger-docs, so you could wrap that route into undocumented
- > (undocumented (GET “/“ [] …))
also, the example uses the pre 1.0.0 swagger-ui & docs format, they do work, but require extra import. There is a “better” way to do it with 1.0.0, see https://github.com/metosin/compojure-api/wiki/Swagger-integration
ah, and there is the :no-doc true
that can be put to routes. https://github.com/metosin/compojure-api/wiki/Swagger-integration#non-documented-routes