Commit graph

1713 commits

Author SHA1 Message Date
Juho Teperi
e204d4ff1b Release 0.7.0-alpha2 2023-05-04 15:20:31 +03:00
Juho Teperi
9f6565f097
Merge pull request #604 from metosin/fix-377-fragment-strings
Fix #377, navigate to routes with fragment string in frontend
2023-05-04 15:12:41 +03:00
Juho Teperi
b9f189b3f7 Fix Html5History missing fragment on initial load 2023-05-04 15:05:27 +03:00
Joel Kaasinen
526bac39c2
Merge pull request #618 from metosin/openapi-examples
more openapi examples, remove redundant ring-swagger example
2023-05-03 17:28:06 +03:00
Joel Kaasinen
253f379fd0 doc: use examples/ring-{malli,spec}-swagger in doc/ring/openapi.md 2023-05-03 17:17:25 +03:00
Joel Kaasinen
f14808b8a3 doc: update examples/ring-spec-swagger to include OpenAPI 3 2023-05-03 17:17:25 +03:00
Joel Kaasinen
28e9cc01e5 doc: update examples/ring-malli-swagger 2023-05-03 17:17:25 +03:00
Joel Kaasinen
bafc9b757f doc: remove examples/ring-swagger
... it's the same as ring-spec-swagger. Let's keep the pair
ring-spec-swagger and ring-malli-swagger.
2023-05-03 17:17:22 +03:00
Joel Kaasinen
bcbdd05a6f
Merge pull request #617 from metosin/openapi-docs
doc: mention reitit-openapi in cljdoc
2023-05-03 17:12:47 +03:00
Joel Kaasinen
8db7598141 doc: mention reitit-openapi in cljdoc 2023-05-03 16:40:49 +03:00
Tommi Reiman
f015b6669a fi 2023-05-03 15:41:11 +03:00
Tommi Reiman
3336880b01 0.7.0-alpha1 2023-05-03 10:25:01 +03:00
Joel Kaasinen
a3ab5714cb CHANGELOG 2023-05-02 14:55:19 +03:00
Joel Kaasinen
6d9d7a09b0
Merge pull request #610 from metosin/openapi-examples
document & test OpenAPI multiple examples
2023-04-19 11:09:03 +03:00
Joel Kaasinen
be0d066f5d doc: document OpenAPI3 multiple examples 2023-04-19 11:03:15 +03:00
Joel Kaasinen
5227e65029 doc: OpenAPI3 named examples in examples/http-swagger 2023-04-19 10:56:22 +03:00
Joel Kaasinen
ca9852a318 test: multiple named openapi examples 2023-04-19 10:49:23 +03:00
Joel Kaasinen
75ebeaf6cd test: test openapi examples support for malli, schema, spec 2023-04-18 15:04:14 +03:00
Joel Kaasinen
0c643409a6
Merge pull request #608 from metosin/openapi-recursive
openapi3 (mutual) recursion support
2023-04-17 09:15:33 +03:00
Joel Kaasinen
1a73ba952e test: openapi3 + malli + mutually recursive schemas 2023-04-17 08:45:24 +03:00
Tommi Reiman
4b33c6d203
Merge pull request #607 from metosin/bump-deps
chore: upgrade deps
2023-04-16 09:24:42 +03:00
Joel Kaasinen
3e78667244 doc: clean up upgraded deps in CHANGELOG.md
- don't mention test deps
- malli was 0.10.1 in previous release, not 0.10.4
2023-04-13 09:37:04 +03:00
Joel Kaasinen
33f7b1ccd7 chore: upgrade lein-parent plugin 2023-04-13 09:23:08 +03:00
Joel Kaasinen
6e7acaedee chore: upgrade deps 2023-04-13 09:23:08 +03:00
Joel Kaasinen
8174296fe7 chore: add lein-ancient plugin 2023-04-13 09:15:10 +03:00
Juho Teperi
56e6dbe8d8 Fix #377, navigate to routes with fragment string in frontend 2023-03-24 14:42:13 +02:00
Juho Teperi
2a3e382df1
Merge pull request #601 from metosin/feature/update-query
Fix #600: Add frontend function to update query-params for current path
2023-03-24 14:01:06 +02:00
Juho Teperi
e2217887e3 Comments about differences to reitit.impl 2023-03-24 13:59:02 +02:00
Juho Teperi
dad8f530a6 Add example and update docs 2023-03-24 11:32:22 +02:00
Juho Teperi
48bbdba8ed Implement navigate and set-query functions 2023-03-24 11:16:09 +02:00
Juho Teperi
f78116e346 Test fragment 2023-03-23 15:46:25 +02:00
Juho Teperi
a558365252 Cleanup 2023-03-23 15:41:48 +02:00
Juho Teperi
e3e93eaffb Add some tests 2023-03-23 15:36:48 +02:00
Juho Teperi
dd724f0d0e Fix #600: Add frontend function to update query-params for current path 2023-03-23 15:13:27 +02:00
Tommi Reiman
fc12af4ea8
Merge pull request #598 from metosin/openapi-changelog
CHANGELOG for OpenAPI3
2023-03-19 21:17:20 +02:00
Joel Kaasinen
ade24cebc9 CHANGELOG for OpenAPI3 2023-03-19 20:03:24 +02:00
Tommi Reiman
76b5dfa1e0 fix CHANGELOG 2023-03-19 19:51:00 +02:00
Tommi Reiman
f1890048e1
Merge pull request #597 from metosin/deps
Update Deps
2023-03-19 19:49:32 +02:00
Tommi Reiman
74a56800e2 revert swagger-ui 2023-03-19 19:49:10 +02:00
Tommi Reiman
6a6492b547 malli 0.10.4 2023-03-19 15:52:58 +02:00
Tommi Reiman
2818378b11 Update Deps 2023-03-18 20:26:32 +02:00
Joel Kaasinen
bae6e6b8dd
Merge pull request #593 from metosin/openapi-multipart
OpenAPI3 multipart support
2023-03-17 15:51:33 +02:00
Joel Kaasinen
8272b651e3 doc: examples/ring-malli-swagger: share tags between swagger&openapi 2023-03-17 14:58:28 +02:00
Joel Kaasinen
d8e28e153b fix: swagger multipart support
1. For spec we were including some extra stuff in the parameter
specification:

{:description "",
 :in "formData",
 :name "file",
 :properties {"bytes" {:format "byte", :type "string"},
              "content-type" {:type "string"},
              "filename" {:type "string"}},
 :required ["filename" "content-type" "bytes"],
 :type "file"}

2. For malli the :type changed from "file" to "string" because of
openapi changes. Now openapi and swagger both get the right type.

3. Test for swagger multipart support
2023-03-17 14:54:46 +02:00
Tommi Reiman
389f4a29da format 2023-03-17 10:12:15 +02:00
Joel Kaasinen
9a99ed96b2 doc: link to examples/ring-malli-swagger from doc/ring/openapi.md 2023-03-16 10:19:30 +02:00
Joel Kaasinen
bf8d0ba1ef doc: don't say :multipart only works with spec 2023-03-16 10:18:28 +02:00
Joel Kaasinen
6c3db02163 doc: openapi content type for file download in examples/http-swagger 2023-03-16 10:10:10 +02:00
Joel Kaasinen
224acf930e doc: openapi3 in examples/ring-malli-swagger 2023-03-16 10:10:10 +02:00
Joel Kaasinen
b5c9ee274d feat: generate correct openapi for reitit.ring.malli 2023-03-16 09:57:02 +02:00