mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 00:11:11 +00:00
The deprecation tag should be directly under parameters
This commit is contained in:
parent
ada41ec7dd
commit
f1e3ed88ea
1 changed files with 3 additions and 2 deletions
|
|
@ -110,8 +110,9 @@
|
|||
(merge {:in (name in)
|
||||
:name k
|
||||
:required (required? k)
|
||||
:schema schema}
|
||||
(select-keys schema [:description])))
|
||||
:schema (dissoc schema :deprecated)}
|
||||
(select-keys schema [:description])
|
||||
(when (:deprecated schema) {:deprecated true})))
|
||||
(into []))})
|
||||
(when body
|
||||
;; :body uses a single schema to describe every :requestBody
|
||||
|
|
|
|||
Loading…
Reference in a new issue