Miikka Koskinen
88897a2264
Remove useless testing calls
2021-02-26 07:41:03 +02:00
Kari Marttila
902b33f004
Support not-found-handler with path in resource handler ( #464 )
2021-02-19 15:17:26 +02:00
Kimmo Koskinen
496e6b6fc7
Allow space as separator, fixes #411
...
Fixes https://github.com/metosin/reitit/issues/411
2021-01-29 15:02:35 +02:00
Tommi Reiman
f2f7d3a428
Merge pull request #438 from metosin/frontend-fixes
...
Frontend fixes
2020-10-19 10:42:45 +03:00
Tommi Reiman
9ce7e6593c
malli 0.2.0, update docs & tune
2020-10-18 20:22:01 +03:00
Kimmo Rantala
2ed5b48067
Fix resource handler path matching
...
File/resource handler checks that uri actually matches to path instead
of comparing just path length to uri length.
2020-10-15 23:33:20 +03:00
Juho Teperi
845240d330
Merge branch 'master' into frontend-fixes
2020-10-15 09:49:14 +03:00
Tommi Reiman
39ec264da8
Merge pull request #417 from Koura/issue-217-consume-form-params
...
Issue 217 consume form params
2020-09-30 12:25:52 +03:00
Juho Teperi
58f9871747
Test rfe start!
2020-09-26 16:51:19 +03:00
Tommi Reiman
fbff819909
update deps
2020-09-26 12:11:14 +03:00
tjalkane
ce635609c7
Omit swagger-data for muuntaja middleware/interceptor
...
Leave out swagger-data when `:form`, but no `:body` parameters, are
defined. If swagger-data is not omitted, order of parameters and
muuntaja middleware will matter.
2020-07-10 09:52:20 +03:00
tjalkane
6703a02baa
Publish Swagger :consumes for parameters-interceptor
...
Make parameters-interceptor automatically publish swagger data for
endpoints when :form, but not :body params, are present.
2020-07-08 10:18:57 +03:00
tjalkane
15df0c5005
Automatically publish Swagger :consumes for :form params
...
Make parameters-middleware publish swagger data for endpoints when
:form, but not :body params,
are present.
2020-07-08 10:07:43 +03:00
tjalkane
c1c3cd26b4
Remove duplicate require of schema.core
2020-06-26 00:25:09 +03:00
tjalkane
87d7e2e3c9
Fix: rename a test to make it run
...
The renamed test is redeclared later in the same namespace
causing the original one to not be run with `lein test`.
2020-06-26 00:16:06 +03:00
Tommi Reiman
681c994f7f
Test that middleware swagger injections work
2020-05-26 22:35:43 +03:00
Tommi Reiman
f2e0470ecd
Merge pull request #408 from metosin/PR
...
Better malli-coercion
2020-05-26 22:03:45 +03:00
Tommi Reiman
57da6fa5ad
optimized http-coercion
2020-05-26 21:32:26 +03:00
Tommi Reiman
e649ed22b9
New options for malli coercion
2020-05-26 08:09:35 +03:00
Tommi Reiman
f41006c8bb
just validation
2020-05-25 23:50:27 +03:00
Tommi Reiman
a2d8208600
Fix #407
2020-05-25 21:54:27 +03:00
piotr-yuxuan
3e8eaa48d7
Fix default description
...
https://github.com/metosin/reitit/issues/403
2020-05-19 23:42:56 +01:00
Tommi Reiman
920c9d7cfd
nil-punning on routes
2020-05-17 10:34:44 +03:00
Tommi Reiman
b1c8dbdaa4
Update sieppari, fix tests
2020-05-16 17:34:55 +03:00
Tommi Reiman
ddf56624b7
Update swagger test
2020-05-16 14:08:08 +03:00
Tommi Reiman
26dcbef5d1
Add tests for missing sieppari asyncs
2020-05-16 14:06:45 +03:00
Tommi Reiman
d36c47d7b1
:reitit.ring/default-options-endpoint & :reitit.http/default-options-endpoint
2020-05-12 21:21:39 +03:00
Tommi Reiman
fd0d7cc46c
Add create-file-handler, fixes #395
2020-05-12 21:05:12 +03:00
Tommi Reiman
b8b442b598
Fix #394
2020-05-12 21:05:12 +03:00
Tommi Reiman
79c430d298
Fix tests
2020-05-12 21:04:35 +03:00
Tommi Reiman
9e7df6ca03
Support expand on default-options-endpoint
2020-05-12 20:11:39 +03:00
Caio Oliveira
029894b984
testing assertion
2020-05-12 10:46:53 -04:00
Caio Oliveira
4fa3e12b49
resource -> endpoint
2020-05-12 10:37:13 -04:00
Caio Oliveira
5796df494e
Change default-options-handler to default-options-resource
...
To make the options resource more customizable.
2020-04-11 20:46:06 -04:00
Tommi Reiman
c5dc91af89
Update tests & CHANGELOG
2020-04-06 10:57:12 +03:00
Juho Teperi
03009f5ca4
Ensure rfe/history is set during initial on-navigate call
...
Fixes #315
2020-03-05 15:32:16 +02:00
Juho Teperi
c4e84c2875
Add clj-kondo and fix most linting warnings
2020-03-05 13:32:48 +02:00
Juho Teperi
c214622495
Fix malli tests
2020-03-05 12:35:37 +02:00
Tommi Reiman
9b024db897
Response coercion is decode + validate + encode
2020-01-07 07:03:57 +02:00
Tommi Reiman
9200afe814
Polish tests
2020-01-06 21:49:41 +02:00
Tommi Reiman
91a2945578
Add support for default values
2019-12-30 22:58:05 +02:00
Tommi Reiman
3c61824f1d
malli coercion + strip extra keys by default with spec
2019-12-28 00:51:41 +02:00
Tommi Reiman
93f947831d
malli + swagger docs
2019-12-27 22:03:52 +02:00
Tommi Reiman
10be520a0d
Malli + coercion
2019-12-27 22:03:52 +02:00
Matt Russell
5aac69f563
Add metosin/ring-http-response support to exception middleware.
2019-12-12 22:29:17 +00:00
Pauli Jaakkola
6d5bf64833
Implement encoding of multi-valued query params.
2019-12-02 15:33:55 +02:00
Pauli Jaakkola
0adb820bba
Collect multi-valued query params into vector.
2019-11-15 12:53:32 +02:00
Ilmo Raunio
e092001568
Add test cases to check for deep paths
2019-11-13 22:49:21 +02:00
Ilmo Raunio
8a86701902
Allow path conflict resolution with :conflicting
2019-11-13 22:49:21 +02:00
Tommi Reiman
e2a297a69d
More tests, fixes #320
2019-10-10 15:09:58 +03:00