Commit graph

297 commits

Author SHA1 Message Date
Tommi Reiman
a9bdceeeb6 reitit.spec/wrap spec-tools.spec/closed 2019-05-01 22:40:44 +03:00
Tommi Reiman
dd864a0142 Set closed specs in http-swagger example 2019-05-01 22:40:44 +03:00
Tommi Reiman
674b60a124 spell-spec 2019-04-28 17:06:50 +03:00
Tommi Reiman
dc92f6f48e http-swagger++ 2019-04-28 17:06:50 +03:00
Valtteri Harmainen
f7332d3bc4 Fix empty query params map resulting in redundant '?' in path 2019-04-27 08:22:08 +03:00
Valtteri Harmainen
0919b46236 Fixes based on review 2019-04-26 15:52:44 +03:00
Valtteri Harmainen
22f38d9992 Revamped re-frame example
- Flattened into single file

- Changed router to decide which view to render
2019-04-25 10:23:55 +03:00
Valtteri Harmainen
66c6363365 Add backend handler to re-frame example
To enable running example with :use-fragment false
2019-04-20 19:58:59 +03:00
Valtteri Harmainen
bcd4aa33ca Add re-frame example 2019-04-20 17:29:13 +03:00
Valtteri Harmainen
215884abe3 Add examples inspired by react-router 2019-04-20 17:26:48 +03:00
Aaron Groom
ac19264b83
Remove unused compojure dependencies from frontend examples
These don't appear to be needed and might cause users to introduce
dependencies into their projects if they use as templates in their own
projects.
2019-04-02 15:40:09 -04: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
Tommi Reiman
ef18a4307e format 2019-02-28 12:11:05 +02:00
Tommi Reiman
f2d131a897 wip 2019-02-28 12:10:01 +02:00
Juho Teperi
6123230f98 Simplify contentEditable check for frontend routing 2019-02-08 13:57:03 +02:00
Juho Teperi
aaf9005a9b Use :parameters instead of :params for controller example 2019-02-08 10:39:55 +02:00
Juho Teperi
6df97df424 Add comment 2019-01-28 22:19:53 +02:00
Juho Teperi
51d24007e7 Add frontend auth example 2019-01-28 22:16:41 +02:00
Tommi Reiman
d2d5019d0f 0.2.13 2019-01-26 16:20:19 +02:00
Tommi Reiman
7ec5c79cad Release 0.2.12 2019-01-18 08:56:23 +02:00
Tommi Reiman
d203832667 0.2.11 2019-01-17 19:43:45 +02:00
Tommi Reiman
60f64856d2 Update example deps, frontend -> spec 2019-01-17 19:29:21 +02:00
Johannes Lötzsch
8633c8234e minor fix: added missing dependency 2019-01-09 18:17:30 +01:00
Tommi Reiman
408b30eaba Release 0.2.10 2018-12-30 17:48:27 +02:00
Tommi Reiman
2ec29b8f9d Polish docs 2018-12-30 16:53:15 +02:00
Tommi Reiman
8081fe1a49 0.2.10-alpha1 2018-12-27 16:45:33 +02:00
Tommi Reiman
f524459768
Merge pull request #197 from metosin/reitit-pedestal
Reitit pedestal
2018-12-26 15:48:43 +02:00
Tommi Reiman
8e0aaf7ae8 Reitit-pedestal 2018-12-26 15:43:26 +02:00
Tommi Reiman
7f4aa1bdcc Dev-middleware works with async + polished code 2018-12-22 13:48:47 +02:00
Will
899e93227d
Fix ring-swagger example 2018-12-21 13:13:13 -08:00
Tommi Reiman
0b9c72ab0f Polish example 2018-12-17 21:03:51 +02:00
Tommi Reiman
0e73b883ed 0.2.9 2018-11-21 16:03:09 +02:00
Tommi Reiman
dd6b07aa0f Release 0.2.8 2018-11-18 22:31:13 +02:00
Tommi Reiman
02308b582d Interceptors diff context, not request 2018-11-11 22:31:02 +02:00
Tommi Reiman
4bfafaffec Diff printing middleware & interceptors 2018-11-11 22:23:51 +02:00
Tommi Reiman
a205d14afc Update to 0.2.7 with new spec-tools 2018-11-11 22:03:16 +02:00
Tommi Reiman
69592c0f68 Bump up top 0.2.6 2018-11-09 15:41:13 +02:00
Tommi Reiman
fdbab455bd 0.2.5 2018-10-30 20:25:14 +02:00
Tommi Reiman
35ac8eae43 Fix example README 2018-10-21 23:37:11 +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
cb14cf017a Update to spec-tools 0.8.0-SNAPSHOT 2018-10-21 20:06:28 +03:00
Tommi Reiman
f5ee149929 Release 0.2.3 2018-09-24 20:51:43 +03:00
Tommi Reiman
e739a624b5
Merge branch 'master' into Generate-Options-endpoints-by-Default 2018-09-24 20:27:24 +03:00
Johannes Lötzsch
fb91499efd test whole stack (use query-string and json-body) 2018-09-23 22:48:32 +02:00
Johannes Lötzsch
5ae17159cf test for examples/ring-spec-swagger 2018-09-23 20:23:03 +02:00
Tommi Reiman
f19aae6e77 fix #150 2018-09-23 16:42:45 +03:00
Johannes Lötzsch
4e2fbc1edf
minor fix in documentation 2018-09-23 12:42:12 +02:00
Tommi Reiman
d81f20ae79 0.2.2 2018-09-09 22:29:00 +03:00
Tommi Reiman
dc3adc025e pic 2018-09-08 11:13:22 +03:00
Tommi Reiman
2f2724dfa0 examples require the latest SNAPSHOT 2018-09-08 11:06:27 +03:00
Tommi Reiman
165b8e117c Interceptor docs 2018-09-08 10:42:01 +03:00
Tommi Reiman
9260f3b3fd pedestal+reitit-http+swagger 2018-09-08 00:16:59 +03:00
Tommi Reiman
713dce4333 don't use wrap-params 2018-09-07 23:39:55 +03:00
Tommi Reiman
3bdae9db75 ring -> ring/ring-jetty-adapter 2018-09-07 23:14:12 +03:00
Tommi Reiman
0f45f42922 require just ring-jetty-adapter 2018-09-07 23:12:08 +03:00
Tommi Reiman
f64dc27dc2 http-swagger example 2018-09-07 23:11:59 +03:00
Tommi Reiman
1094e7d240 parameters-middleware & polish sample 2018-09-07 23:08:43 +03:00
Tommi Reiman
3539021165 use clojure.spec 2018-09-05 13:21:20 +03:00
Tommi Reiman
a1811eb254 inital commit 2018-09-05 13:14:58 +03:00
Tommi Reiman
1a3a483866 update README 2018-09-05 13:14:31 +03:00
Tommi Reiman
fa90d12eb8 0.2.1 with updated deps 2018-09-04 18:15:23 +03:00
Tommi Reiman
1324fb3540 polish 2018-09-04 17:47:52 +03:00
Thomas Spellman
baa4159981 add missing require in the pedestal example 2018-09-03 22:46:10 -07:00
Tommi Reiman
ac86d550b5 0.2.0 2018-09-03 19:44:59 +03:00
Tommi Reiman
292d3fd76d update example 2018-09-03 19:31:42 +03:00
Tommi Reiman
048f7e48b6 return json 2018-09-03 18:52:57 +03:00
Tommi Reiman
13ceab524d sieppari 0.0.0-alpha5 2018-09-03 12:35:28 +03:00
Tommi Reiman
2c51f051de 0.2.0-alpha1 2018-09-02 17:52:19 +03:00
Tommi Reiman
ac6d36de63 update example 2018-09-02 17:36:41 +03:00
Tommi Reiman
da518c9820 READMEs 2018-08-31 15:23:49 +03:00
Tommi Reiman
40464ed371 documentation 2018-08-31 11:17:09 +03:00
Tommi Reiman
9e0629a800 . 2018-08-31 11:11:03 +03:00
Tommi Reiman
86fb0f72d0 fix async code 2018-08-31 11:05:48 +03:00
Tommi Reiman
9ca63b545b wip 2018-08-31 10:56:56 +03:00
Tommi Reiman
07acbb275f Pedestal-sample 2018-08-31 10:50:00 +03:00
Tommi Reiman
a23cd116b7 deps 2018-08-31 10:50:00 +03:00
Tommi Reiman
c3a3b923a7 wip 2018-08-31 10:50:00 +03:00
Tommi Reiman
9729a7424e update example 2018-08-27 09:12:09 +03:00
Bill Hedworth
9d5e64b5fc balance missing parens 2018-08-25 19:23:07 +01:00
Tommi Reiman
53ecb314f8 . 2018-08-25 16:41:02 +03:00
Tommi Reiman
5210b2c5c4 reitit-http example 2018-08-25 16:28:57 +03:00
Tommi Reiman
92638dbb20 http-swagger not ready for prime-time 2018-08-25 13:30:54 +03:00
Tommi Reiman
a08a4adffa example 2018-08-25 13:30:54 +03:00
Tommi Reiman
91473c5976 example copied 2018-08-25 13:28:44 +03:00
Tommi Reiman
31116504c8 docs++ 2018-08-24 18:37:32 +03:00
Juho Teperi
2900e96337
Merge pull request #125 from metosin/frontend-fragment
Frontend fixes
2018-08-23 10:12:46 +03:00
Juho Teperi
adfba578ca
Merge pull request #126 from metosin/frontendrouter
reitit.frontend/router
2018-08-23 10:07:09 +03:00
Juho Teperi
567edbd07a Serve index.html for all request in html5 routing mode 2018-08-23 10:05:10 +03:00
Juho Teperi
e42c309144 Read query string in HTML5 router 2018-08-23 09:58:57 +03:00
Tommi Reiman
e2da118de7 docs 2018-08-22 22:45:13 +03:00
Tommi Reiman
5c835c5ad2 reitit.frontend/router 2018-08-22 18:56:31 +03:00
Tommi Reiman
79d3191702 upload & download example 2018-08-02 16:12:32 +03:00
Tommi Reiman
862e921072 remove extra dep 2018-08-02 16:12:32 +03:00
Tommi Reiman
44feacd7d3 Full stack with data-specs 2018-08-02 16:12:32 +03:00
Tommi Reiman
8d4bb4d616 . 2018-08-02 16:12:32 +03:00
Tommi Reiman
5c0cf19ef1 Muuntaja is a def 2018-08-02 16:12:32 +03:00
Tommi Reiman
fa639fc530 -alpha 2018-08-02 16:12:32 +03:00
Tommi Reiman
10ccbb72e3 wip 2018-08-02 16:12:32 +03:00
Tommi Reiman
bb4f861f00 0.2.0-SNAPSHOT 2018-07-28 12:07:16 +03:00
Juho Teperi
ba10470fbb
Merge pull request #118 from metosin/frontend-routing-3
Frontend routing 3
2018-07-24 14:02:53 +03:00
Juho Teperi
08156f6a6d Replace Closure Html5History
- Create History protocol and two implementations: FragmentHistory and
Html5History
- API follows now Html5 history, i.e. push-state and replace-state
- path-prefix is removed
2018-07-24 13:58:22 +03:00
Juho Teperi
9d787ef81a Add example button using set-token 2018-07-24 11:45:22 +03:00
Juho Teperi
7e9ea8f905 Don't options using default values 2018-07-24 11:45:06 +03:00
Tommi Reiman
8b6bc9bb80 [:swagger :id] defaults to :reitit.swagger/default 2018-07-21 09:38:44 +03:00
Juho Teperi
d90b7cff04
Merge pull request #108 from metosin/frontend-routing-easy
Add easy-simple wrapper over frontend router
2018-07-17 10:21:09 +03:00
Tommi Reiman
0f03d0786c Works by default with Muuntaja 2018-07-16 15:57:12 +03:00
Juho Teperi
d0f42459ee Add easy-simple wrapper over frontend router 2018-07-13 14:25:36 +03:00
Juho Teperi
5fd2f7b405 Enable cljs aot-cache 2018-07-12 14:02:48 +03:00
Juho Teperi
82f8aaa8cf Add frontend-controllers example 2018-07-12 12:49:14 +03:00
Juho Teperi
ae109e5350 Log warnings about missing route or params 2018-07-12 12:49:14 +03:00
Juho Teperi
358fbc19c6 Clean frontend example project.clj 2018-07-12 12:49:14 +03:00
Juho Teperi
aeadfad880 Add path and query params to frontend example 2018-07-12 12:49:14 +03:00
Juho Teperi
dff9206210 Bump clojurescript 2018-07-12 12:49:14 +03:00
Juho Teperi
264981fd3d Start version 0.1.4 2018-07-12 12:49:14 +03:00
Juho Teperi
61a9871ebb Fix empty fragment url 2018-07-12 12:48:24 +03:00
Juho Teperi
417f35a318 Create example 2018-07-12 12:46:41 +03:00
Tommi Reiman
79d8e1bb91 0.1.3 2018-06-25 17:50:36 +03:00
Tommi Reiman
18bd2e684f bump up version (all but docs) 2018-06-24 22:32:23 +03:00
Tommi Reiman
33a8f0626e update example how to resolve body format with Muuntaja 2018-06-10 23:14:11 +03:00
Tommi Reiman
a416060354 fix examples 2018-06-10 23:10:46 +03:00
Tommi Reiman
6b95fab88c 0.1.2 2018-06-06 10:43:59 +03:00
Tommi Reiman
21de7a038a 0.1.2-SNAPSHOT 2018-06-06 10:34:23 +03:00
Tommi Reiman
5e5345bf63 update swagger-ui path, fixes #93 2018-05-31 16:46:56 +03:00
Tommi Reiman
fc71947bbb 0.1.1 2018-05-20 21:55:46 +03:00
Tommi Reiman
49e8d273ac Update copyrights 2018-05-20 21:45:11 +03:00
Tommi Reiman
d49a5cbc00 Update docs 2018-05-14 08:22:06 +03:00
Tommi Reiman
8a320164a4 welcome swagger-ui! 2018-05-14 08:21:47 +03:00
Tommi Reiman
f0c5698a89 excessive nesting 2018-05-07 09:03:40 +03:00
Tommi Reiman
05fbaa1110 Initial swagger-ui integration 2018-05-07 08:59:21 +03:00
Tommi Reiman
0b711b2560 Support :index-files in create-resource-handler 2018-04-29 16:51:53 +03:00
Tommi Reiman
0b5ec75354 No WIPs here 2018-04-29 15:25:56 +03:00
Tommi Reiman
7ef3df7467 Add screenshot 2018-04-29 15:22:09 +03:00
Tommi Reiman
c3726aeb5d Fix swaggr-example 2018-04-29 15:18:30 +03:00
Tommi Reiman
2487364c9f initial example app 2018-04-20 08:30:20 +03:00
Tommi Reiman
b57d900507 0.1.1-SNAPSHOT 2018-03-17 14:32:51 +02:00
Tommi Reiman
d4a4949ad0 0.1.0 2018-02-19 22:03:30 +02:00
Tommi Reiman
32fb3ca294 :responses have :body, not :schema 2018-02-11 21:38:15 +02:00
Tommi Reiman
509697dc55 Cleanup examples 2018-02-11 21:38:15 +02:00
Tommi Reiman
708fa24590 rename package 2017-12-31 11:30:55 +02:00
Tommi Reiman
c1ade2f45e Update docs 2017-12-09 23:21:03 +02:00
Tommi Reiman
b9f032a5ce Cleanup Coercion 2017-12-09 22:49:32 +02:00
Tommi Reiman
22bbe38b8c reitit.ring.middleware => reitit.middleware 2017-12-04 23:58:05 +02:00
Tommi Reiman
1f2bac40db example of just coercion with ring 2017-12-03 17:43:57 +02:00
Tommi Reiman
e0eb1fd0a3 ring-example 2017-12-03 17:43:40 +02:00