Skip to content

Commit

Permalink
bump up version
Browse files Browse the repository at this point in the history
  • Loading branch information
ikitommi committed Dec 8, 2014
1 parent d0bc74c commit 6dca5e8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.15.0 (8.12.2014)

- **new feature**: binding dynamic variable `ring.swagger.json-schema/*ignore-missing-mappings*`
to true will cause unknown json-schema mappings to be ignored
- fixed #42

## 0.14.1 (11.10.2014)

- support for `s/Named`
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,19 @@ In namespace `ring.swagger.schema` there are some helpers for creating the schem
| `(s/required-key X)` | *required key*
| `s/Keyword` (as a key) | *ignored in visualizations*



- Vectors, Sets and Maps can be used as containers
- Maps are presented as Complex Types and References. Model references are resolved automatically.
- Nested maps are transformed automatically into flat maps with generated child references
- Nested maps can be within valid containers (as only element - heregenous schema sequences not supported by the spec)

### Missing Schema elements

If ring-swagger can't transform the Schemas into JSON Schemas,
by default a `IllegalArgumentException` will be thrown. By binding
`ring.swagger.json-schema/*ignore-missing-mappings*` to true, one
can ingore the errors (missing schema elements will be ignored from
the generated JSON Schema).

### Schema elements supported by `ring.swagger.json-schema-dirty`

Some Schema elements are impossible to accurately describe within boundaries of JSON-Schema or Swagger spec.
Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject metosin/ring-swagger "0.14.1"
(defproject metosin/ring-swagger "0.15.0"
:description "Swagger Spec for Ring Apps"
:url "https://github.com/metosin/ring-swagger"
:license {:name "Eclipse Public License"
Expand Down

0 comments on commit 6dca5e8

Please sign in to comment.