We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85473db commit 5f7ddcdCopy full SHA for 5f7ddcd
src/navi/impl.clj
@@ -118,7 +118,8 @@
118
(apply merge-with into)
119
(wrap-map :path)
120
(wrap-map :query)
121
- (wrap-map :header))
+ (wrap-map :header)
122
+ (wrap-map :cookie))
123
responses (-> (.getResponses op)
124
(update-kvs handle-response-key response->data))]
125
(cond-> {:handler (get handlers (.getOperationId op))}
src/navi/transform.clj
@@ -77,7 +77,10 @@
77
[(.getAnyOf schema) :or]
78
79
(< 0 (count (.getAllOf schema)))
80
- [(.getAllOf schema) :and])]
+ [(.getAllOf schema) :and]
81
+
82
+ :else
83
+ (throw (IllegalArgumentException. "Unsupported composite schema. Use either anyOf, allOf")))]
84
(->> schemas
85
(map p/transform)
86
(into [compose-as]))))
0 commit comments