Skip to content

Commit

Permalink
Update ring-swagger & changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ikitommi committed Feb 11, 2016
1 parent 7fb7a06 commit 552315c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

* Swagger-routes mounted via api-options are mounted before other routes, fixes [#218](https://github.com/metosin/compojure-api/issues/218)
* Routes are now resolved also from from Vars, fixes [#219](https://github.com/metosin/compojure-api/issues/219)
* Better handling of `:basePath` with `swagger-routes`, thanks to [Hoxu](https://github.com/hoxu).
* Updated dependencies:

```clj
[metosin/ring-swagger "0.22.4"] is available but we use "0.22.3"
```

## 1.0.0-RC1 (2.2.2016)

Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[org.tobereplaced/lettercase "1.0.0"]
[frankiesardo/linked "1.2.6"]
[metosin/ring-http-response "0.6.5"]
[metosin/ring-swagger "0.22.3"]
[metosin/ring-swagger "0.22.4"]
[metosin/schema-tools "0.7.0"]
[ring-middleware-format "0.7.0"]
[metosin/ring-swagger-ui "2.1.4-0"]]
Expand Down
6 changes: 4 additions & 2 deletions test/compojure/api/sweet_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@
"habanero"]
:type "string"}
:type "array"}}
:required ["id" "name" "toppings"]}
:required ["id" "name" "toppings"]
:additionalProperties false}
:NewBand {:type "object"
:properties {:description {:type "string"}
:name {:type "string"}
Expand All @@ -199,7 +200,8 @@
"habanero"]
:type "string"}
:type "array"}}
:required ["name" "toppings"]}}}
:required ["name" "toppings"]
:additionalProperties false}}}

(fact "spec is valid"
(v/validate spec) => nil))))

0 comments on commit 552315c

Please sign in to comment.