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
0cfe5b4ea5
Replace top-level :tags with [:swagger :tags] path in documentation
2020-06-24 23:11:23 +03:00
Ryan Schmukler
962ffc6fb5
fix: coercion.malli use m/type
...
Renames `m/name` to `m/type` per the breaking change introduced in malli
4880734d554511f16fee9c1d28a9d340c8b632c1.
2020-06-11 10:20:50 -04:00
Tommi Reiman
e30e739a15
0.5.2
2020-05-27 08:32:38 +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
4e9537cecf
Merge pull request #404 from piotr-yuxuan/master
...
[0.5.1] Ass default :responses for Swagger-UI
2020-05-26 21:33:18 +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
ea5ec93793
faster malli coercion
2020-05-25 21:54:55 +03:00
Tommi Reiman
9e42140a28
Merge pull request #356 from MattiNieminen/bugfix/355-add-missing-dependency
...
Add missing spec-tools dependency to reitit-middleware. Fixes #355
2020-05-25 16:48:23 +03:00
piotr-yuxuan
6e332e46f1
Low-priority default :responses in Swagger spec
...
According to meta-merge documentation, ^:displace is a good solution
for default values. This is still inside the meta-merge, as I don't
see where else I could put it. Perhaps a better solution is available.
2020-05-20 22:45:11 +01:00
piotr-yuxuan
3e8eaa48d7
Fix default description
...
https://github.com/metosin/reitit/issues/403
2020-05-19 23:42:56 +01:00
Tommi Reiman
50f0120e8c
0.5.1
2020-05-18 15:00:28 +03:00
Tommi Reiman
500a4cc809
0.5.0
2020-05-17 18:42:33 +03:00
Tommi Reiman
920c9d7cfd
nil-punning on routes
2020-05-17 10:34:44 +03:00
Tommi Reiman
39aafc9029
Fix malli + swagger
2020-05-16 14:08:16 +03:00
Tommi Reiman
514f113bf3
reitit + jackson-databind
2020-05-13 21:28:10 +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
e5fbb51138
Fix reflection warning
2020-05-12 21:05:12 +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
Tommi Reiman
9921479c46
Polish code
2020-05-12 19:43:04 +03:00
Tommi Reiman
3cdd4963ff
Merge pull request #385 from caioaao/default-options-resource
...
Change default-options-handler to default-options-resource
2020-05-12 19:39:32 +03:00
Caio Oliveira
029894b984
testing assertion
2020-05-12 10:46:53 -04:00
Caio Oliveira
5e3e552c80
add assertion for breaking change
2020-05-12 10:41:34 -04:00
Caio Oliveira
a98fe22992
style
2020-05-12 10:37:47 -04:00
Caio Oliveira
4fa3e12b49
resource -> endpoint
2020-05-12 10:37:13 -04:00
Tommi Reiman
1b0cc0a100
Faster path conflict resolution, O(n2) -> O(n)
2020-04-27 08:38:27 +03:00
Tommi Reiman
b128a0f3db
Run path-conflicting just once for quarantine router
2020-04-26 22:04:14 +03:00
Tommi Reiman
0d3a195cd8
Format
2020-04-26 21:28:08 +03:00
Tommi Reiman
f45f5859eb
Fix reflection warning
2020-04-26 21:28:04 +03:00
Tommi Reiman
faaaedaa29
Enable quick creation of routers
2020-04-26 21:27:55 +03: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
69d2c3a089
Add missing import, fixes #373
2020-03-29 19:56:26 +03:00
Tommi Reiman
577447dc23
Merge pull request #372 from metosin/feature/fix-315
...
Ensure rfe/history is set during initial on-navigate call
2020-03-28 14:52:19 +02:00
Juho Teperi
be23cd169e
Fix swagger :tags docstring
2020-03-24 11:19:00 +02: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
Olim Saidov
a7a0b0e287
Merge branch 'master' into patch-1
2020-02-05 14:46:32 +05:00
Olim Saidov
927d1c1bbb
Pass malli options to compile fn
2020-02-05 14:33:36 +05:00
Olim Saidov
f17b47b0db
Pass malli options to extract-parameter fn
2020-02-05 14:04:24 +05:00
Matti Nieminen
20a3864482
Add missing spec-tools dependency to reitit-middleware. Fixes #355
2020-01-31 12:19:53 +02:00
Wanderson Ferreira
f7e4136e0e
adding type hints to clean boxed operations with java.lang.Objects
2020-01-19 00:37:57 -03:00
Tommi Reiman
3ca0492244
0.4.2
2020-01-17 18:39:07 +02:00
Tommi Reiman
3b4eae6499
Add direct dependenxcy to Jackson Core
...
See https://clojureverse.org/t/depending-on-the-right-versions-of-jackson-libraries/5111
2020-01-17 18:37:34 +02:00
Tommi Reiman
945fec23a9
0.4.1
2020-01-14 21:42:47 +02:00
Miikka Koskinen
1ad0141792
Release 0.4.0
2020-01-14 15:49:13 +02:00
Tommi Reiman
b651fac0b0
Use latest malli fixing visitors
2020-01-08 21:50:04 +02:00
Tommi Reiman
9b024db897
Response coercion is decode + validate + encode
2020-01-07 07:03:57 +02:00
Tommi Reiman
91a2945578
Add support for default values
2019-12-30 22:58:05 +02:00
Tommi Reiman
fa0c00c5b2
Update dep
2019-12-28 09:40:09 +02:00
Tommi Reiman
44f6c51610
Finalize malli coercion
2019-12-28 02:37:33 +02:00
Tommi Reiman
3c61824f1d
malli coercion + strip extra keys by default with spec
2019-12-28 00:51:41 +02:00
Tommi Reiman
a7cd1cf398
response endoding, WIP: tests
2019-12-27 22:03:52 +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
b648c73dcb
Removed hard dependency on metosin/ring-http-response.
...
Use fully-qualified keyword rather referring via required alias, avoiding adding dependency.
2019-12-13 10:39:24 +00: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
25728ae8f2
Use transducer per #329 review suggestion
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
Daw-Ran Liou
69795f5fe7
Tighten middleware spec from collection to vector
...
This avoids messing up the order of middleware chain accidentally.
2019-10-09 18:38:32 +03:00
Tommi Reiman
c23f591283
0.3.10
2019-10-08 10:28:25 +03:00
Juho Teperi
10c9097c40
Merge pull request #301 from uosl/fix/composedpath
...
Use aget for composedPath to avoid casting JS array to seq
2019-09-20 10:43:35 +03:00
Juho Teperi
f0fef3e525
Merge branch 'master' into html5-hist-fragments
2019-09-20 10:36:08 +03:00
Juho Teperi
500d5d6540
Merge pull request #259 from metosin/ignore-anchor-click-fn
...
Ignore anchor click fn
2019-09-20 10:34:15 +03:00
Tommi Reiman
3644c2e392
FIxes #308
2019-09-09 21:14:40 +03:00
Juho Teperi
802c9b04c4
Merge branch 'master' into ignore-anchor-click-fn
2019-08-21 13:43:01 +03:00
Alexander Kiel
a19849fe58
Make Map Destructuring of Namespaced Keys more Beautiful
...
It's possible to put the :keys keyword in the namespace of the keys one likes to
destructure. With that one can use symbols in the vector again. One advantage of
having symbols is, that Cursive grays them out if not used. I found two
occurrences of unused destructured keys.
2019-07-13 17:02:41 +03:00
uosl
c8209a69db
Use aget composedPath to avoid casting JS array to seq
2019-07-11 09:04:06 +01:00
Dieter Komendera
35597aadf6
Pass uri fragments to history pushState
2019-07-08 08:48:15 +02:00
Tommi Reiman
2e85f44a7e
0.3.9
2019-06-16 20:20:49 +03:00
Tommi Reiman
91e860f6c6
Support 3-arity handler for default-options-handler
2019-06-16 20:11:19 +03:00
Tommi Reiman
dd7a01b1bc
0.3.8
2019-06-15 11:49:45 +03:00
Tommi Reiman
46897f3927
Update docs
2019-06-09 20:46:20 +03:00
Tommi Reiman
c9281f0e89
support :parameter-syntax option in router
2019-06-09 20:29:03 +03:00
Tommi Reiman
12543b1c30
0.3.7
2019-05-25 16:00:45 +03:00
Tommi Reiman
37deaa3b9e
Check also pedestal interceptor key values, fixes #285
2019-05-23 18:53:27 +03:00
Tommi Reiman
a314e06887
0.3.6
2019-05-23 14:37:58 +03:00
Daniel Sunnerek
372d7e7509
[ #283 ] Allow to pass some defaults to create-default-handler
2019-05-23 13:18:49 +02:00
Tommi Reiman
5efdc67954
Merge pull request #281 from malesch/feature/fix-typos
...
Fix a bunch of typos
2019-05-22 21:47:36 +03:00
Tommi Reiman
568dbad3a3
0.3.5
2019-05-22 21:25:56 +03:00
Tommi Reiman
4178acde5f
Make Trie$Match immutable
2019-05-22 21:10:51 +03:00
Marcus Spiegel
8dcebcf49f
Fix typos
2019-05-22 19:17:10 +02:00
Tommi Reiman
60ee39bd53
Trie$Match is mutable, fixes #277
2019-05-22 16:39:37 +03:00
Tommi Reiman
3381fe34e5
0.3.4
2019-05-20 20:14:14 +03:00
Kevin van Rooijen
a9cacd78ce
Properly access ::s/problems key in coercion-spec
2019-05-20 17:30:17 +02:00
Tommi Reiman
32fced15e8
Release 0.3.3
2019-05-16 07:03:17 +03:00
Tommi Reiman
639b0ca5f4
Correct Link
2019-05-16 06:56:00 +03:00
Tommi Reiman
7e7b57c913
Add ex-message shim
2019-05-16 06:51:10 +03:00
Tommi Reiman
ad0bc7e013
Better errors for route-data merge errors
2019-05-15 22:54:35 +03:00
Tommi Reiman
2e7729349e
0.3.2
2019-05-13 17:06:37 +03:00
Tommi Reiman
8a538b6d7e
Update CHANGELOG
2019-05-13 17:05:46 +03:00
Tommi Reiman
419dd24316
Route-data validation docs
2019-05-11 22:31:58 +03:00
Tommi Reiman
6d263ae1b6
Test Pedestal error mapping, add dev helpers
2019-05-11 10:25:09 +03:00
Tommi Reiman
e70837b140
Merge pull request #263 from metosin/north
...
Closed spec validation demoed in Clojure/North (WIP)
2019-05-10 14:28:39 +03:00
Tommi Reiman
a9bdceeeb6
reitit.spec/wrap spec-tools.spec/closed
2019-05-01 22:40:44 +03:00