Commit graph

157 commits

Author SHA1 Message Date
Tommi Reiman
b2c0b2fdfa confirm to ring spec, fixes #83 2018-06-06 10:34:23 +03:00
Tommi Reiman
4a4cd5ae9e response/redirect 2018-06-06 10:34:23 +03:00
Tommi Reiman
21de7a038a 0.1.2-SNAPSHOT 2018-06-06 10:34:23 +03:00
Tommi Reiman
a99789216c Use redirects for index-files 2018-06-06 10:34:23 +03:00
Tommi Reiman
fa078470c5 swagger-ui path work, wip 2018-06-06 10:34:23 +03:00
Tommi Reiman
56203ba11d no default method in ring 2018-06-06 10:34:23 +03:00
Tommi Reiman
fc71947bbb 0.1.1 2018-05-20 21:55:46 +03:00
Tommi Reiman
1262a1fab7 docs 2018-05-20 21:41:38 +03:00
Tommi Reiman
05fbaa1110 Initial swagger-ui integration 2018-05-07 08:59:21 +03:00
Tommi Reiman
0b711b2560 Support :index-files in create-resource-handler 2018-04-29 16:51:53 +03:00
Tommi Reiman
f8a43f0996 use ring for serving resources. 2018-04-25 08:32:01 +03:00
Tommi Reiman
fc0b634865 . 2018-04-24 23:58:15 +03:00
Tommi Reiman
4e49316383 Fix based on Miikka’s comments 2018-04-24 21:17:25 +03:00
Tommi Reiman
8ebcdc8429 swagger & static resource docs 2018-04-23 08:27:16 +03:00
Tommi Reiman
c25da60053 ring/create-resource-handler 2018-04-22 22:51:14 +03:00
Tommi Reiman
acbef8527c ring/routes, fix async default handling 2018-04-22 22:50:17 +03:00
Tommi Reiman
6d387c8822 perf tuning ring-handler 2018-04-22 17:55:32 +03:00
Tommi Reiman
b57d900507 0.1.1-SNAPSHOT 2018-03-17 14:32:51 +02:00
Tommi Reiman
d4a4949ad0 0.1.0 2018-02-19 22:03:30 +02:00
Tommi Reiman
3005e04a6e Inject Match and Router under reitit.core ns in ring 2018-02-12 07:49:24 +02:00
Tommi Reiman
54b24be28e :params => :path-params 2018-02-01 16:23:44 +02:00
Tommi Reiman
fda6a1e06f Support not-found with ring 2018-01-23 20:29:22 +02:00
Dmitri Sotnikov
6625cf31d7
allow custom default-handler to ring-router 2018-01-07 16:36:26 -05:00
Tommi Reiman
fb99b4f9fd Parameter & Response Coercion with specs 2017-12-31 11:34:37 +02:00
Tommi Reiman
708fa24590 rename package 2017-12-31 11:30:55 +02:00
Tommi Reiman
b7b0b7c81d Docs for Ring spec validation 2017-12-29 11:56:01 +02:00
Tommi Reiman
9273f99806 Middleware can also contribute to router specs 2017-12-28 22:41:02 +02:00
Tommi Reiman
1a9583b31b Support ring-route-data validation 2017-12-26 22:41:17 +02:00
Tommi Reiman
0dbb75ad44 Add :path & :method to Endpoints 2017-12-26 22:40:53 +02:00
Tommi Reiman
8a48d6790b . 2017-12-16 10:51:32 +02:00
Tommi Reiman
927d4d4389 Remove middleware/create & polish stuff 2017-12-12 22:27:36 +02:00
Tommi Reiman
b9f032a5ce Cleanup Coercion 2017-12-09 22:49:32 +02:00
Tommi Reiman
22bbe38b8c reitit.ring.middleware => reitit.middleware 2017-12-04 23:58:05 +02:00
Tommi Reiman
164473cc75 :gel-wrap => :compile 2017-12-04 22:44:13 +02:00
Tommi Reiman
ba78008d90 expand the transformed mw 2017-12-04 08:36:06 +02:00
Tommi Reiman
368850b6ab :reitit.ring.middleware/transform! 2017-12-03 21:16:23 +02:00
Tommi Reiman
82e300a9aa More docs 2017-12-03 21:00:34 +02:00
Tommi Reiman
59aa364932 middleware/chain 2017-12-03 17:42:47 +02:00
Tommi Reiman
b210a98f83 polish Coercion protocol
* compile => compile-model
* mae-open => open-model
2017-12-03 17:29:06 +02:00
Tommi Reiman
a436b32729 gen-wrap-* => *-middleware 2017-12-03 17:28:24 +02:00
Tommi Reiman
97598ce194 Fix :body coercion (not open, :body coercer) 2017-11-27 08:01:52 +02:00
Tommi Reiman
becd30386d Works with ClojureScript! 2017-11-27 08:00:27 +02:00
Tommi Reiman
132240b422 ClojureScriptify Exceptions 2017-11-26 22:04:51 +02:00
Tommi Reiman
7979c9de9d Remove normal middleware, slow and noicy 2017-11-26 21:51:55 +02:00
Tommi Reiman
03d4e8c4bf Implement coercion error handling 2017-11-26 21:51:43 +02:00
Tommi Reiman
4d772c62e1 Polish implementations 2017-11-26 21:51:21 +02:00
Tommi Reiman
2dd91d91d6 BREAKING: route :meta => :data 2017-11-18 12:47:16 +02:00
Tommi Reiman
e8ee224160 Fix tests 2017-11-12 16:00:32 +02:00
Tommi Reiman
9434dd08e7 Don't test for nil handler
* it's already verified by the ring-router
2017-11-12 15:43:27 +02:00
Tommi Reiman
63848838d5 respond with nil if async ring route doesn't match
* relates to #45
2017-11-11 22:12:06 +02:00
Tommi Reiman
44867fbcf5 :gen -> :gem-wrap in middleware
* as preparation for support of interceptors
2017-11-11 17:30:17 +02:00
Tommi Reiman
2ae8fd27a8 Replace the version in place 2017-10-30 21:39:35 +02:00
Tommi Reiman
c3820239c5 Walk the docs, fix links, maybe better texts 2017-10-30 08:46:20 +02:00
Tommi Reiman
a3ebb04038 Manage dependencies via lein-parent 2017-10-29 09:31:28 +02:00
Tommi Reiman
f93a452209 Re-package & re-module 2017-10-29 09:31:28 +02:00
Tommi Reiman
460ba5ecc0 Fix based on Miikka's comments 2017-10-29 09:31:28 +02:00
Tommi Reiman
4805555417 Initial module split
* metosin/reitit (all)
* metosin/reitit-core (just the router)
* metosin/reitit-ring (the ring stuff)
2017-10-29 09:31:28 +02:00