mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 00:11:11 +00:00
feat: allow vectors for openapi/swagger :tags
no need to insist on set, and many of our examples use vectors anyway
This commit is contained in:
parent
b4c0936207
commit
bad798d90d
2 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
(s/def ::id (s/or :keyword keyword? :set (s/coll-of keyword? :into #{})))
|
||||
(s/def ::no-doc boolean?)
|
||||
(s/def ::tags (s/coll-of (s/or :keyword keyword? :string string?) :kind set?))
|
||||
(s/def ::tags (s/coll-of (s/or :keyword keyword? :string string?)))
|
||||
(s/def ::summary string?)
|
||||
(s/def ::description string?)
|
||||
(s/def :openapi/request-content-types (s/coll-of string?))
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
(s/def ::id (s/or :keyword keyword? :set (s/coll-of keyword? :into #{})))
|
||||
(s/def ::no-doc boolean?)
|
||||
(s/def ::tags (s/coll-of (s/or :keyword keyword? :string string?) :kind set?))
|
||||
(s/def ::tags (s/coll-of (s/or :keyword keyword? :string string?)))
|
||||
(s/def ::summary string?)
|
||||
(s/def ::description string?)
|
||||
(s/def ::operationId string?)
|
||||
|
|
|
|||
Loading…
Reference in a new issue