File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33* Swagger-routes mounted via api-options are mounted before other routes, fixes [ #218 ] ( https://github.com/metosin/compojure-api/issues/218 )
44* Routes are now resolved also from from Vars, fixes [ #219 ] ( https://github.com/metosin/compojure-api/issues/219 )
5+ * Better handling of ` :basePath ` with ` swagger-routes ` , thanks to [ Hoxu] ( https://github.com/hoxu ) .
6+ * Updated dependencies:
7+
8+ ``` clj
9+ [metosin/ring-swagger " 0.22.4" ] is available but we use " 0.22.3"
10+ ```
511
612## 1.0.0-RC1 (2.2.2016)
713
Original file line number Diff line number Diff line change 1313 [org.tobereplaced/lettercase " 1.0.0" ]
1414 [frankiesardo/linked " 1.2.6" ]
1515 [metosin/ring-http-response " 0.6.5" ]
16- [metosin/ring-swagger " 0.22.3 " ]
16+ [metosin/ring-swagger " 0.22.4 " ]
1717 [metosin/schema-tools " 0.7.0" ]
1818 [ring-middleware-format " 0.7.0" ]
1919 [metosin/ring-swagger-ui " 2.1.4-0" ]]
Original file line number Diff line number Diff line change 188188 " habanero" ]
189189 :type " string" }
190190 :type " array" }}
191- :required [" id" " name" " toppings" ]}
191+ :required [" id" " name" " toppings" ]
192+ :additionalProperties false }
192193 :NewBand {:type " object"
193194 :properties {:description {:type " string" }
194195 :name {:type " string" }
199200 " habanero" ]
200201 :type " string" }
201202 :type " array" }}
202- :required [" name" " toppings" ]}}}
203+ :required [" name" " toppings" ]
204+ :additionalProperties false }}}
203205
204206 (fact " spec is valid"
205207 (v/validate spec) => nil ))))
You can’t perform that action at this time.
0 commit comments