Commit graph

1515 commits

Author SHA1 Message Date
Tommi Reiman
720b1f9524
Merge pull request #433 from perttikellomaki/patch-1
Update basics.md
2020-09-07 15:06:11 +03:00
Pertti Kellomäki
8ae0a4ccd4
Update basics.md
My pet peeve ;-)
Few = hardly any.
A few  = a couple
Some = a few or maybe more.
2020-09-04 21:49:56 +03:00
Tommi Reiman
2f17f09856
Merge pull request #428 from nivekuil/patch-1
Fix rfe/start! example arity
2020-08-17 10:42:11 +03:00
Kevin Liu
218cd4be69
Fix rfe/start! example arity
The second arg should be the on-navigate callback and the opts should be the third arg.
2020-08-16 19:54:20 -07:00
tjalkane
d2bc642ac6 Remove redundant malli.core/walk call 2020-08-05 22:05:52 +03:00
tjalkane
37fc06b081 Fix: broken ring-malli-swagger example
Change example to use recently changed `m/accept` -> `m/walk` and
`m/schema-visitor` -> `m/schema-walker`
2020-08-04 21:26:58 +03:00
Miikka Koskinen
afd0af83be Point to cljdoc for documentation
Fixing all the links in CHANGELOG.md would have been too much work, so I
just left them as-is. I've converted the pages under
https://metosin.github.io/reitit/ to redirects, so the links should
work anyway.

Closes https://github.com/metosin/reitit/issues/426
2020-07-28 13:15:10 +03:00
Miikka Koskinen
612555cdc0 CircleCI: Disable build-docs
See https://github.com/metosin/reitit/issues/426 for background.
2020-07-24 14:14:02 +03:00
Miikka Koskinen
aa833ac200
Merge pull request #418 from Koura/fix-docs-wording
Improve wording for interceptors documentation
2020-07-24 14:02:50 +03:00
Miikka Koskinen
486e3928c5 examples/buddy-auth: README improvements and dep upgrade 2020-07-24 13:51:10 +03:00
Miikka Koskinen
9affebbb73
Merge pull request #419 from vharmain/examples/buddy-auth
Add Buddy example
2020-07-24 13:42:44 +03:00
Miikka Koskinen
9fe64a333f Update copyright year 2020-07-24 13:06:20 +03:00
Miikka Koskinen
11a419d8b9 examples/fronted: Upgrade dependencies
Fixes https://github.com/metosin/reitit/issues/423
2020-07-24 13:05:57 +03:00
Tommi Reiman
43e1a520d6 0.5.5 2020-07-15 11:28:11 +03:00
Tommi Reiman
274d527d2f 0.5.4 (with latest malli) 2020-07-13 11:08:19 +03:00
Valtteri Harmainen
d3c21e3c6c Add Buddy example 2020-07-11 13:35:43 +03:00
tjalkane
807b75f7c0 Improve wording for interceptors documentation 2020-07-10 15:46:28 +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
Tommi Reiman
56cbd67abd 0.5.3 2020-07-09 22:06:04 +03:00
Tommi Reiman
e6e6bd3e27 update malli 2020-07-09 22:05:10 +03:00
Tommi Reiman
06cc5090d5 Update deps 2020-07-09 22:00:05 +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
Tommi Reiman
0ffef07cbf
Merge pull request #415 from Koura/cleanup-test-namespaces
Cleanup test namespaces
2020-06-26 10:44:11 +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
9ca88d7165
Merge pull request #414 from Koura/issue-375-remove-top-level-tags
Replace top-level `:tags` with `[:swagger :tags]` path in documentation
2020-06-25 10:56:27 +03:00
tjalkane
0cfe5b4ea5 Replace top-level :tags with [:swagger :tags] path in documentation 2020-06-24 23:11:23 +03:00
Tommi Reiman
cf45940715 update malli 2020-06-11 20:28:49 +03:00
Tommi Reiman
3a73ddab51
Merge pull request #412 from rschmukler/rschmukler/malli-fix
fix: coercion.malli use m/type
2020-06-11 20:14:55 +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
2ff255eb89
Merge pull request #410 from jhacksworth/fix-link-in-default-middleware-doc
Fix link in default_middleware.md
2020-06-03 14:08:52 +03:00
J Hacksworth
bb4a7502fb Fix link in default_middleware.md
"Content Negotation" was moved to its own page. This commit adds a
section with a link to the new page, similar to the way the "Exception
Handling" section is presented.
2020-06-02 10:45:26 -04:00
Tommi Reiman
e30e739a15 0.5.2 2020-05-27 08:32:38 +03:00
Tommi Reiman
aa3d38e971 Remove unneeded default responses from examples 2020-05-27 08:31:02 +03:00
Tommi Reiman
da7cef232c Update CHANGELOG 2020-05-26 22:39:51 +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
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
f41006c8bb just validation 2020-05-25 23:50:27 +03:00
Tommi Reiman
ea5ec93793 faster malli coercion 2020-05-25 21:54:55 +03:00
Tommi Reiman
a2d8208600 Fix #407 2020-05-25 21:54:27 +03:00
Tommi Reiman
28962e75df Update malli 2020-05-25 21:53:40 +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
Miikka Koskinen
e27f2449b9
Merge pull request #405 from xificurC/patch-2
fix negation -> negotiation middleware
2020-05-22 16:36:08 +03:00
Peter Nagy
efe07e3d5d
fix negation -> negotiation middleware
that was a funny typo!
2020-05-21 22:19:32 +02: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