Commit graph

1688 commits

Author SHA1 Message Date
Joel Kaasinen
8174296fe7 chore: add lein-ancient plugin 2023-04-13 09:15:10 +03: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
Joel Kaasinen
83b747c7c6 doc: mention :multipart in doc/ring/coercion.md 2023-03-16 09:39:34 +02:00
Joel Kaasinen
de2d810b7c test: multiple parts in multipart-test 2023-03-15 17:48:03 +02:00
Joel Kaasinen
acbcec1ed9 feat: openapi3 multipart support for schema 2023-03-15 17:48:03 +02:00
Joel Kaasinen
60f53d7e7c deps: upgrade schema-tools 2023-03-15 17:48:03 +02:00
Joel Kaasinen
1c65f533cf feat: openapi3 multipart support for malli 2023-03-15 17:48:03 +02:00
Joel Kaasinen
f322597c04 feat: openapi3 multipart support for spec 2023-03-15 17:48:03 +02:00
Joel Kaasinen
8bf4b5c6a6
Merge pull request #592 from metosin/openapi-fixes
misc. fixes for openapi3 support
2023-03-15 17:47:44 +02:00
Joel Kaasinen
d0ff64df57 test: simplify openapi_test.clj a bit more 2023-03-15 16:01:57 +02:00
Joel Kaasinen
bcd12d9f31 refactor: push openapi/openapi-spec call inside merge
to make reitit.coercion.spec match reitit.coercion.schema
2023-03-15 13:38:34 +02:00
Joel Kaasinen
41c4d78823 chore: reformat http-swagger example 2023-03-15 13:21:14 +02:00
Joel Kaasinen
5107658c25 fix: typo on examples/http-swagger 2023-03-15 13:20:02 +02:00
Joel Kaasinen
66e7c9e1c8 test: nicer handling of missing :additionalProperties for spec 2023-03-15 13:19:01 +02:00
Joel Kaasinen
0c82ce0e4d
Merge pull request #588 from metosin/openapi
Initial Openapi3 support
2023-03-15 09:34:16 +02:00
Joel Kaasinen
6f72acdf32 doc: fix example in openapi-feature docstring 2023-03-15 09:24:27 +02:00
Tommi Reiman
23b2719be5 add version to swagger api 2023-03-14 21:09:03 +02:00
Tommi Reiman
25b75c877a offer both swagger & openapi docs in ui 2023-03-14 20:58:07 +02:00
Joel Kaasinen
814c8b88e2 refactor: factor out -identity-coercer 2023-03-14 14:39:05 +02:00
Joel Kaasinen
bbaf4b27f7 refactor: remove commented-out code 2023-03-14 14:37:53 +02:00
Tommi Reiman
11f47527f1 add reitit-openapi module, 0.5.18 -> 0.6.0 2023-03-14 12:24:05 +02:00
Joel Kaasinen
9b50baca0c doc: examples/http-swagger: authentication 2023-03-13 15:37:49 +02:00
Joel Kaasinen
20cafa3d9b doc: examples/http-swagger: tags for openapi, openapi-feature 2023-03-13 07:33:42 +02:00
Joel Kaasinen
7defd98808 doc: Swagger-UI 5.0.0-alpha.0 has OpenAPI 3.1 support
mention in docs, use in http-swagger example
2023-03-10 14:34:05 +02:00
Joel Kaasinen
304b77cb7d doc: mention lack of swagger-ui support for openapi 3.1 2023-03-10 13:53:10 +02:00
Joel Kaasinen
3fa50ea0f6 doc: mark openapi support as alpha 2023-03-10 10:17:42 +02:00
Joel Kaasinen
8c87fef7b6 feat: warning when swagger encounters per-content-type coercions 2023-03-10 08:52:45 +02:00