Joel Kaasinen
288b701d4e
feat: openapi #/components/schemas
...
collect definitions when traversing the models, and put them in the
right place for openapi
depends on :malli.json-schema/definitions-path support
2024-04-22 08:00:27 +03:00
Joel Kaasinen
c2372473d0
test: test for malli vars + swagger
2024-04-22 08:00:27 +03:00
Joel Kaasinen
066c54b1d2
Merge pull request #675 from metosin/0.7.0-alpha8
...
0.7.0-alpha8
2024-04-22 07:55:36 +03:00
Tommi Reiman
7432ef9bb9
require java11
2024-04-20 16:42:36 +03:00
Tommi Reiman
fa24dcd29a
update deps
2024-04-20 16:38:41 +03:00
Joel Kaasinen
bbaab0b8f8
Merge pull request #674 from metosin/bump-examples
...
Bump deps on examples
2024-04-19 16:53:24 +03:00
Martín Varela
81b9464f68
deps: bump deps for frontend example
...
Also fix frontend example to work with current reagent version
2024-04-19 16:25:45 +03:00
Joel Kaasinen
1b7fc0fc58
deps: bump the deps on some examples
2024-04-19 14:32:08 +03:00
Joel Kaasinen
13e8dd86e5
deps: bump deps on some examples
2024-04-19 14:32:08 +03:00
Joel Kaasinen
06c0fd8566
fix: ns name in examples/pedestal-malli-swagger, bump deps
2024-04-19 14:32:08 +03:00
Joel Kaasinen
cd6c23823c
deps: bump the deps of some examples
2024-04-19 14:32:08 +03:00
Joel Kaasinen
ff76f5d888
deps: update deps on some examples
2024-04-19 14:32:08 +03:00
Joel Kaasinen
cc9863c95f
deps: bump deps in examples/buddy-auth
2024-04-19 14:32:08 +03:00
Joel Kaasinen
59df1f995b
deps: bump clojure version in examples
2024-04-19 14:32:08 +03:00
Joel Kaasinen
f41d555b62
Merge pull request #671 from metosin/fix-example
...
fix: remove unsupported coercions when generating swagger
2024-04-19 10:32:25 +03:00
Joel Kaasinen
a69cfdac41
Merge pull request #666 from velios/patch-1
...
Update ring-swagger-ui for support openapi 3.1.0 version
2024-04-19 10:21:08 +03:00
Joel Kaasinen
b6c5b69ffe
Merge pull request #659 from frenchy64/escaped-double-quote-doc
...
Fix formatting of #'router docstring
2024-04-19 10:18:32 +03:00
Joel Kaasinen
8ce2de3631
doc: reitit requires clojure 1.11
...
now that we're using update-vals
2024-04-19 10:16:13 +03:00
Joel Kaasinen
ff957661e5
doc: update CHANGELOG.md
2024-04-19 10:16:13 +03:00
Joel Kaasinen
01b476b342
fix: remove unsupported coercions when generating swagger
...
If we don't remove them, :responses :content gets passed out verbatim
in the swagger.json, breaking stuff.
In particular, fixes the swagger.json in
examples/reitit-malli-swagger. Reported broken in #669 .
2024-04-19 10:16:13 +03:00
Joel Kaasinen
fbec1e2ecc
Merge pull request #668 from metosin/bump-muuntaja
...
deps: bump muuntaja
2024-03-15 12:06:11 +02:00
Joel Kaasinen
00b5487cc0
deps: bump muuntaja
2024-03-15 12:01:08 +02:00
Joel Kaasinen
fb2f4b2ee9
doc: update CHANGELOG.md
2024-03-15 10:36:15 +02:00
Joel Kaasinen
c67a748915
Merge pull request #585 from djblue/var-handler
...
Allow var handlers
2024-03-15 10:35:22 +02:00
Joel Kaasinen
d24b501281
doc: handlers can be vars
2024-03-15 09:31:48 +02:00
Joel Kaasinen
5d30a73bad
feat: reitit.core/Expand for Vars
2024-03-15 09:21:51 +02:00
Joel Kaasinen
659e96e780
test: handler can be a var
2024-03-15 09:18:54 +02:00
Juho Teperi
2fe448c3d8
Add frontend-malli example
2024-02-26 11:12:54 +02:00
velios
c295e645c5
Update ring-swagger-ui dependency
...
The need for such a change is that reitit-openapi module creates openapi.js of 3.1.0 version, but current reitit-swagger-ui can't draw it, because dependency through root to ring-swagger-ui . ring-swagger-ui > 5.x.x version can draw openapi.js 3.1.0 version correctly
2024-02-24 13:41:31 +01:00
Martín Varela
ca434f9c05
Merge pull request #663 from metosin/openapi-exp
...
#636 Adds level-1 Muuntaja support for OpenAPI3
2024-02-09 12:19:15 +02:00
Martín Varela
0e8d635e44
fix: added muuntaja dependency for the openapi module
2024-02-09 12:14:35 +02:00
Martín Varela
6c9b280fa2
doc: add notice about OpenAPI support being clj only
2024-02-09 12:12:58 +02:00
Martín Varela
cb1c5e8748
made openapi clj, not cljc
2024-02-09 12:12:58 +02:00
Martín Varela
e7be6327d4
doc: make :default stand out as special
2024-02-09 11:52:00 +02:00
Martín Varela
d2c00026e6
doc: Update docs for fetching content types from Muuntaja instance
2024-02-09 11:49:44 +02:00
Martín Varela
ed280f9a33
feature: fetch openapi content types from muuntaja
...
(level 1 integration in #636 )
2024-02-09 11:49:44 +02:00
Martín Varela
f1e6d37dcf
fix: don't output :default in openapi request body
2024-02-09 11:49:44 +02:00
Martín Varela
98f3eb0a72
Merge pull request #664 from metosin/fix-swagger-tests
...
Fix: swagger tests and CI
2024-02-09 11:48:59 +02:00
Martín Varela
82c714d0cc
fix: pin version for openapi-schema-validator on CI
2024-02-09 11:42:19 +02:00
Martín Varela
982ac3ec72
Fix: account for changed malli encoder behavior that was breaking ring-coercion-test
2024-02-09 11:37:34 +02:00
Martín Varela
f99a76886e
Fix: fix swagger ring tests, malli keys are now strings, not keywords
2024-02-09 11:21:31 +02:00
Tommi Reiman
989ab72a58
use latest malli.
...
test fail, but they did so earlier. FIX
2024-01-16 14:59:53 +02:00
Ambrose Bonnaire-Sergeant
5444bad439
Fix formatting of #'router docstring
...
Escaped double quotes breaks the clojure.repl/doc output.
2024-01-12 13:50:18 -06:00
Tommi Reiman
7e00de835d
Merge pull request #615 from nimitmaru/patch-1
...
Update README.md - fixed link
2024-01-08 08:04:47 +02:00
Juho Teperi
620d0c2711
Merge pull request #655 from stig/fix-link-to-jira
...
Fix links to Jira in the documentation
2023-10-30 12:34:48 +02:00
Juho Teperi
8d2d295a60
Merge pull request #654 from stig/effect->affect
...
Correct "effects" to "affects" in comments & docs
2023-10-30 12:32:57 +02:00
Stig Brautaset
0fff06ec6b
Correct "effects" to "affects" in comments & docs
...
Their usage is commonly confused, but "affect" is usually a verb and
"effect" is usually a noun. In this case we want the verb. See also
https://www.merriam-webster.com/grammar/affect-vs-effect-usage-difference
2023-10-13 21:10:20 +01:00
Stig Brautaset
f4a8013388
Fix link to Jira in the documentation
...
The existing links didn't work for me, but the new links do.
2023-10-09 14:03:36 +01:00
Juho Teperi
15e0c95cb6
0.7.0-alpha7
2023-10-03 13:34:36 +03:00
Juho Teperi
53327b3147
Update ring-swagger-ui to latest v4 release
2023-10-03 13:33:29 +03:00