Commit graph

1841 commits

Author SHA1 Message Date
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
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
Juho Teperi
92a746f803
Merge pull request #653 from metosin/revert-group-id
Revert group id change
2023-10-03 13:19:37 +03:00
Juho Teperi
d4a85c40e6 Revert group id change
Per discussions in Slack, changing the group id causes too much problems
2023-10-03 13:06:23 +03:00
Juho Teperi
8115fb225f Update swagger-ui for examples using v5 2023-10-03 11:58:33 +03:00
Tommi Reiman
8eb3b75a80
Merge pull request #652 from vedang/fix/update-example-clj-version
Update Clojure version of all Swagger Examples to 1.11
2023-09-28 20:27:53 +03:00
Vedang Manerikar
bdadb0fa8d Update Clojure version of all Swagger Examples to 1.11
As of 497da675b9 (committed 1st Sept
2023), `swagger.cljc` uses the `update-vals` function, introduced in
Clojure 1.11.

Due to this, all the example projects fail to run since the
`project.clj` specifies Clojure version 1.10.

This commit updates the Clojure version for such examples, fixing the
problem.

Fixes: #651
2023-09-28 22:03:43 +05:30
Tommi Reiman
90f3708e16
Merge pull request #648 from metosin/fix-groups
README.md: fix latest version, cljdoc links
2023-09-11 17:01:17 +03:00
Joel Kaasinen
67a6658754 doc: fix lates version in README.md 2023-09-11 15:26:24 +03:00
Joel Kaasinen
c1a82ad8ab doc: fix group name in cljdoc links in README.md 2023-09-11 15:24:41 +03:00
Tommi Reiman
6a39dcd6ec 0.7.0-alpha6 2023-09-11 15:03:31 +03:00
Tommi Reiman
2778775565
Merge pull request #647 from metosin/change-groups
move all libs metosin/reitit => fi.metosin/reitit
2023-09-11 14:58:51 +03:00
Joel Kaasinen
8a22696a37 doc: update cljdoc badge with new group 2023-09-11 11:08:41 +03:00
Joel Kaasinen
f0f19c2dae doc: mention group change in CHANGELOG 2023-09-11 11:06:18 +03:00
Joel Kaasinen
35264dc130 doc: update all references metosin/reitit => fi.metosin/reitit 2023-09-11 11:04:36 +03:00
Joel Kaasinen
ccc2b5636e move all libs metosin/reitit => fi.metosin/reitit
metosin/ is a clojars legacy group, and new modules like
fi.metosin/openapi can't be created under it. Let's move everything
under fi.metosin
2023-09-11 11:04:36 +03:00
Joel Kaasinen
6360fa8ba0
Merge pull request #639 from metosin/fix-openapi-examples
fix, test and document openapi named examples
2023-09-11 11:04:16 +03:00
Joel Kaasinen
bad798d90d feat: allow vectors for openapi/swagger :tags
no need to insist on set, and many of our examples use vectors anyway
2023-09-11 07:59:17 +03:00
Joel Kaasinen
b4c0936207 Merge remote-tracking branch 'origin/master' into fix-openapi-examples 2023-09-11 07:53:15 +03:00
Joel Kaasinen
aee0caa5c8 fix: :content coercion and :tags in examples/http-swagger 2023-09-11 07:48:41 +03:00
Joel Kaasinen
b0b9f8cbee fix: enable validation in examples/openapi, make it pass 2023-09-11 07:45:25 +03:00
Joel Kaasinen
557c89acdd fix: enable validatio nin examples/ring-malli-swagger, make it pass 2023-09-11 07:40:36 +03:00
Joel Kaasinen
5352fd4f99 fix: swagger & openapi ::tags spec
`#{}` isn't a valid :kind predicate
2023-09-11 07:40:13 +03:00
Joel Kaasinen
b206fc79b3 fix: spec for openapi-feature 2023-09-11 07:12:00 +03:00
Tommi Reiman
721cf7f321
Merge pull request #646 from pfeodrippe/patch-1
Remove duplicated :operationId
2023-09-08 17:06:25 +03:00
Joel Kaasinen
abd84de68d doc: update CHANGELOG.md 2023-09-08 15:35:57 +03:00
Joel Kaasinen
7352358662 feat: rename openapi :content-types keyword, split for req & resp 2023-09-08 15:17:35 +03:00
Paulo Rafael Feodrippe
68adf50362
Remove duplicated :operationId 2023-09-07 16:39:39 -04:00
Joel Kaasinen
f2e6d335f0
Merge pull request #642 from metosin/rework-pr-589
Fix malli swagger defs w/ custom registries
2023-09-01 15:45:49 +03:00
Joel Kaasinen
ee462c9981 bump malli dep 2023-09-01 10:56:43 +03:00
Joel Kaasinen
497da675b9 refactor: use update-vals 2023-09-01 10:37:17 +03:00
Joel Kaasinen
df5f75eb89 Merge remote-tracking branch 'origin/master' into rework-pr-589 2023-09-01 10:33:20 +03:00
Joel Kaasinen
aef74c6e6a
Merge pull request #644 from metosin/bump-clojure
drop support for clojure 1.10
2023-09-01 10:32:54 +03:00
Joel Kaasinen
68371c2c05 drop support for clojure 1.10 2023-09-01 10:22:50 +03:00
Juho Teperi
cdbfef2d21
Merge pull request #640 from metosin/cljdoc-check-fix
Try skipping module without src folder
2023-08-30 09:55:23 +03:00
Joel Kaasinen
241c8367e3 feat: dissoc definitions from swagger methods
we only want the definitions on the very top level of the swagger doc
2023-08-30 09:38:33 +03:00
Joel Kaasinen
b316840ea0 fix: compile instead of -compile-model in malli.cljc
-compile-model now takes a vector of models, so
(-compile-model this model nil) fails. Just use compile directly like
master does.
2023-08-30 09:38:33 +03:00
Joel Kaasinen
f1d26791fc Merge branch 'master' into rework-pr-589 2023-08-30 08:29:06 +03:00