mirror of
https://github.com/metosin/reitit.git
synced 2025-12-18 17:01:11 +00:00
commit
c43b5b876d
2 changed files with 6 additions and 4 deletions
|
|
@ -12,7 +12,7 @@ We use [Break Versioning][breakver]. The version numbers follow a `<major>.<mino
|
||||||
|
|
||||||
[breakver]: https://github.com/ptaoussanis/encore/blob/master/BREAK-VERSIONING.md
|
[breakver]: https://github.com/ptaoussanis/encore/blob/master/BREAK-VERSIONING.md
|
||||||
|
|
||||||
## UNRELEASED
|
## 0.4.0-SNAPSHOT
|
||||||
|
|
||||||
* Updated deps:
|
* Updated deps:
|
||||||
|
|
||||||
|
|
@ -31,11 +31,11 @@ We use [Break Versioning][breakver]. The version numbers follow a `<major>.<mino
|
||||||
|
|
||||||
### `reitit-malli`
|
### `reitit-malli`
|
||||||
|
|
||||||
* Welcome [malli](https://github.com/metosin/malli)-based coercion! See [example project](./examples/ring-malli-swagger).
|
* Alpha of [malli](https://github.com/metosin/malli)-based coercion! See [example project](./examples/ring-malli-swagger).
|
||||||
|
|
||||||
### `reitit-spec`
|
### `reitit-spec`
|
||||||
|
|
||||||
* `:body` coercion defaults to `spec-tools.core/strip-extra-keys-transformer`, so effectively all non-specced `s/keys` keys are stripped also for non-JSON formats.
|
* **BREAKING**: `:body` coercion defaults to `spec-tools.core/strip-extra-keys-transformer`, so effectively all non-specced `s/keys` keys are stripped also for non-JSON formats.
|
||||||
|
|
||||||
### `reitit-frontend`
|
### `reitit-frontend`
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,9 @@
|
||||||
[["/swagger.json"
|
[["/swagger.json"
|
||||||
{:get {:no-doc true
|
{:get {:no-doc true
|
||||||
:swagger {:info {:title "my-api"
|
:swagger {:info {:title "my-api"
|
||||||
:description "with reitit-ring"}}
|
:description "with [malli](https://github.com/metosin/malli) and reitit-ring"}
|
||||||
|
:tags [{:name "files", :description "file api"}
|
||||||
|
{:name "math", :description "math api"}]}
|
||||||
:handler (swagger/create-swagger-handler)}}]
|
:handler (swagger/create-swagger-handler)}}]
|
||||||
|
|
||||||
["/files"
|
["/files"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue