Skip to content

Commit

Permalink
test nil-returns, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ikitommi committed Mar 31, 2015
1 parent 4537e9a commit 6e44667
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.19.2 (31.3.2015)

- avoid reflection with regexps, thanks to [Michael Blume](https://github.com/MichaelBlume)
- default 2.0 responses don't have schemas
- support for walking over Schema predicates support for 1.2 too

## 0.19.1 (25.3.2015)

- `with-named-sub-schemas` takes an optional parameter - prefix for schema names
Expand Down
4 changes: 2 additions & 2 deletions test/ring/swagger/swagger2_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@
:operationId "operationId"
:consumes ["application/xyz"]
:produces ["application/xyz"]
:parameters {:body Nothing
:parameters {:body nil
:query (merge Anything {:x Long :y Long})
:path {:id String}
:header Anything
:formData Anything}
:responses {200 {:description "ok"
:schema {:sum Long}}
:schema nil}
400 {:description "not found"
:schema NotFound}
:default {:description "error"
Expand Down

0 comments on commit 6e44667

Please sign in to comment.