Commit graph

145 commits

Author SHA1 Message Date
Miikka Koskinen
b6d9707b53 Copy file & resource handler docstring update to docs 2021-03-02 08:28:36 +02:00
Tommi Reiman
f43a8311fc 0.5.12 2021-02-04 20:40:25 +02:00
Tommi Reiman
b4099169be 0..5.11 with updated deps 2020-12-27 22:50:02 +02:00
Steven Deobald
7fb720ef36 Handle nil for lower-case
- when "_method" is actually empty, we need to avoid trying to
  do string manipulation on nil from params.
2020-12-15 19:29:50 -06:00
Steven Deobald
a3b251449b Downcase hidden methods in RESTful example
- this documentation is mildly confusing when combined with hiccup's
  `form-to` since hiccup forcibly transforms the method specified in
  its convenience syntax: `(form-to [:delete "/my-url"] ... )` into an
  upper-case string:
  80e48352dd/src/hiccup/form.clj (L130)

- it's also common to get an upper-case string from elsewhere so it
  seems best to wrap the hidden `_method` in `lower-case`.
2020-12-15 15:48:00 -06:00
Tommi Reiman
0b2c4d0d8e 0.5.10 2020-10-22 00:10:52 +03:00
Tommi Reiman
dbf3751815 0.5.9 2020-10-19 10:46:38 +03:00
Tommi Reiman
ff647f3a2c 0.5.8 2020-10-19 08:31:29 +03:00
Tommi Reiman
8c3ad99276 0.5.7 2020-10-18 20:43:24 +03:00
Tommi Reiman
5e290db106 0.5.6 2020-09-26 16:08:34 +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
Tommi Reiman
56cbd67abd 0.5.3 2020-07-09 22:06:04 +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
Peter Nagy
efe07e3d5d
fix negation -> negotiation middleware
that was a funny typo!
2020-05-21 22:19:32 +02: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
d36c47d7b1 :reitit.ring/default-options-endpoint & :reitit.http/default-options-endpoint 2020-05-12 21:21:39 +03:00
Juho Teperi
f538208fd0 Add note about Swagger-UI 3.x :responses 2020-03-24 12:28:22 +02:00
Juho Teperi
be23cd169e Fix swagger :tags docstring 2020-03-24 11:19:00 +02:00
Tommi Reiman
c7b67f3366
Merge pull request #350 from rbb-data/feature/swagger-ui-v3
Update to latest ring-swagger-ui
2020-03-04 20:54:42 +02:00
Samuel J McHugh
6c458e26d0
Update dynamic_extensions.md
I find the clarity of this example important because the implementation of (ring/get-match) c23f591283/modules/reitit-ring/src/reitit/ring.cljc (L309) doesn't explain what's going on here.

I find the destructing of the qualified keyword `::roles` unnecessary to the example. To this end I propose using an unqualified keyword.

Additionally there is a collision between the name of the required rolls to access the route and the name of the roles held by the user making the request. To this end I propose having the roles held by the user named `:my-roles`
2020-02-28 14:44:05 +01:00
heyarne
9de2254e01 Update docs with instructions on how to use swagger-ui 2.x 2020-02-10 15:38:29 +01:00
Tommi Reiman
3ca0492244 0.4.2 2020-01-17 18:39:07 +02:00
Wanderson Ferreira
fbe2f62576 split default_middleware and merge more options to content negotiation 2020-01-16 22:50:27 -03: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
699a8c7cd3 docs 2019-12-29 11:17:20 +02:00
Andrey Krasnov
bd5c67e75c Add grammar and style fixes
A couple of grammatical and stylistic changes that I think should make reading this doc a bit nicer.
2019-10-23 22:38:38 +03:00
Cody Canning
8cd314bd3f Update compiling_middleware.md regarding specs 2019-10-22 07:18:38 +03:00
Tommi Reiman
c23f591283 0.3.10 2019-10-08 10:28:25 +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
Greg Rynkowski
f8b5e5dccf Correct doc (obsolete example of middleware/create)
reitit.middleware/create has been removed at 927d4d43.
It seems reitit.middleware/map->Middleware is the right approach
instead.

More:
https://clojurians.slack.com/archives/C7YF1SBT3/p1561635497233300
2019-06-27 13:16:12 +01:00
Tommi Reiman
2e85f44a7e 0.3.9 2019-06-16 20:20:49 +03:00
Tommi Reiman
dd7a01b1bc 0.3.8 2019-06-15 11:49:45 +03:00
Tommi Reiman
12543b1c30 0.3.7 2019-05-25 16:00:45 +03:00
Tommi Reiman
83a0264698 Exceptions docs 2019-05-25 15:57:34 +03:00
Tommi Reiman
a314e06887 0.3.6 2019-05-23 14:37:58 +03: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
Marcus Spiegel
8dcebcf49f Fix typos 2019-05-22 19:17:10 +02:00
Tommi Reiman
3381fe34e5 0.3.4 2019-05-20 20:14:14 +03:00
Tommi Reiman
32fced15e8 Release 0.3.3 2019-05-16 07:03:17 +03:00
Christian Egli
b3f60abe2d
Fix a small typo 2019-05-14 11:42:00 +02:00
Tommi Reiman
2e7729349e 0.3.2 2019-05-13 17:06:37 +03:00
Dillon Redding
d8afe1b8c3
Fixing status reason phrase 2019-05-08 17:51:01 -05:00
Tommi Reiman
8c9a7a42cb Update CHANGELOG for middleware chain inspection 2019-05-01 22:24:32 +03:00
Tommi Reiman
a0d833e645 0.3.1 2019-03-18 08:27:25 +02:00
Tommi Reiman
d21dd03dfa 0.3.0 2019-03-17 14:22:15 +02:00