Tommi Reiman
3db3ec68f3
Update CHANGELOG
2018-10-30 19:57:13 +02:00
Tommi Reiman
2b0700f887
Update Gitbook docs
2018-10-30 19:53:48 +02:00
Tommi Reiman
2a08ba2c98
Polish code
2018-10-30 19:51:19 +02:00
Tommi Reiman
763440e41f
Format code
2018-10-30 19:50:18 +02:00
Tommi Reiman
3e6f1c0548
Merge pull request #159 from valerauko/trailing-slash
...
Handle trailing slashes
2018-10-30 19:43:32 +02:00
Unknown
1fc4fc7f60
Add docs
2018-10-31 00:10:04 +09:00
Unknown
da29203cc8
Add tests for :strip and :both
2018-10-30 23:48:35 +09:00
Unknown
b6e8a9d579
Add 0-ary version
2018-10-30 23:48:12 +09:00
Unknown
ad8384022c
Add tests for the slash-redirect :add case
2018-10-30 23:23:13 +09:00
Unknown
c8b2aa7bc4
Fix incorrect request key
...
It's :request-method not :method
2018-10-30 23:22:38 +09:00
Unknown
c10764fb4d
Revert "gitignore lein files"
...
This reverts commit ca9de58502 .
2018-10-30 23:10:33 +09:00
Unknown
6c599f8862
Merge branch 'master' into trailing-slash
2018-10-30 23:10:23 +09:00
Unknown
820e13cffb
Use status 301 and 308
2018-10-30 10:16:30 +09:00
Unknown
875934360e
Add trailing slash handler
2018-10-29 10:10:22 +09:00
Unknown
46254975d9
Undo ensure-slash
2018-10-29 09:11:52 +09:00
Tommi Reiman
45eab09d7a
Fix tests
2018-10-28 20:19:40 +02:00
Tommi Reiman
0095aece21
Router is injected into request in the default branch
...
* releated to #159
2018-10-28 18:20:35 +02:00
Unknown
33582b4c1c
Strip slash instead
...
Also fix the only failing test
2018-10-28 18:22:41 +09:00
Unknown
2ba01028a0
Remove unnecessary let
2018-10-28 16:28:12 +09:00
Unknown
a8d6b32389
Use ensure-path for matching
2018-10-28 16:21:15 +09:00
Unknown
8d4c591f96
Use ensure-slash at compilation
2018-10-28 16:21:03 +09:00
Unknown
e2e96e8f1e
Add ensure-slash function
2018-10-28 16:20:45 +09:00
Unknown
ca9de58502
gitignore lein files
2018-10-28 16:20:32 +09:00
Tommi Reiman
24d39cde28
Merge pull request #158 from martinklepsch/patch-2
...
Add step to verify cljdoc.edn as part of CI
2018-10-22 21:54:41 +03:00
Martin Klepsch
2c094a46c0
Add step to verify cljdoc.edn as part of CI
2018-10-22 20:46:48 +02:00
Tommi Reiman
35ac8eae43
Fix example README
2018-10-21 23:37:11 +03:00
Tommi Reiman
bfe1151b0a
0.2.4 ready
2018-10-21 23:14:08 +03:00
Tommi Reiman
0beeaef1f8
Update http-swagger example
2018-10-21 23:11:09 +03:00
Tommi Reiman
8fb6582b67
Update jetty-adapter
2018-10-21 23:10:50 +03:00
Tommi Reiman
69aeb9adcc
Release 0.2.4
2018-10-21 20:37:35 +03:00
Tommi Reiman
17c27eb732
Remove generated names from Data-Specs
2018-10-21 20:36:53 +03:00
Tommi Reiman
cb14cf017a
Update to spec-tools 0.8.0-SNAPSHOT
2018-10-21 20:06:28 +03:00
Tommi Reiman
c35c40ceda
Fix docs
2018-10-20 15:06:41 +03:00
Tommi Reiman
ea6682b385
Update CHANGELOG & Docs
2018-10-16 20:32:40 +03:00
Tommi Reiman
5046aebec8
Allow any kind of model
2018-10-16 20:25:43 +03:00
Tommi Reiman
a1aee49105
Merge pull request #157 from valerauko/fix-tests-reflection
...
Fix tests and reflection warnings
2018-10-16 20:17:38 +03:00
Unknown
a00798a0f5
Adjust tests to allow string keys
2018-10-16 22:57:33 +09:00
Unknown
6322bb99f1
Resolve reflection warnings
2018-10-16 22:51:43 +09:00
Tommi Reiman
a77a583c09
Merge pull request #155 from valerauko/resource-404
...
Custom handler for resource 404
2018-10-16 14:58:16 +03:00
Tommi Reiman
1917646bcc
Merge pull request #156 from ludwinas/patch-1
...
fix typo
2018-10-15 12:13:57 +03:00
Laura Macchini
49cbb33aa4
fix typo
2018-10-15 10:59:13 +02:00
Vale
21c888b8bc
Update docstring
2018-10-10 13:57:59 +09:00
Vale
e84b25d4ac
Custom handler for resource 404
2018-10-10 13:57:51 +09:00
Tommi Reiman
b70edbb89d
Merge pull request #152 from dancek/patch-1
...
Fix reader conditional example
2018-10-05 13:38:03 +03:00
Hannu Hartikainen
9e05d58880
Fix reader conditional example
...
The previous example only worked by accident (because there was an even number of map keys with conditional values).
{:get #?(:clj 1), :post #?(:clj 2)} gets read as {:get :post} in a non-clj context. The splicing reader conditional or a :cljs (or :default) value is needed to have the code work as intended. Here we change the docs to use the splicing version, as that is (imho) more beautiful than adding another branch.
2018-10-05 13:27:56 +03:00
Tommi Reiman
31d2bc5832
fix doc
2018-10-03 08:36:59 +03:00
Tommi Reiman
52eeea3c99
Allow any keys in paramters, related to #145
2018-09-26 16:28:26 +03:00
Tommi Reiman
f5ee149929
Release 0.2.3
2018-09-24 20:51:43 +03:00
Tommi Reiman
84501e3b40
Merge pull request #148 from metosin/Generate-Options-endpoints-by-Default
...
Generate options-endpoints for ring by default
2018-09-24 20:28:01 +03:00
Tommi Reiman
c0201ce2f0
test parameters-interceptor
2018-09-24 20:27:42 +03:00