Skip to content

Commit 2577f74

Browse files
committed
update for spec-tools 0.10.6
1 parent 6b5b7de commit 2577f74

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ See also: [compojure-api 1.1.x changelog](./CHANGELOG-1.1.x.md)
33
## Next
44
* Lazily load spec and schema coercion support to preserve Clojure 1.8 support for 1.1.x
55
* bump spec-tools to 0.10.6
6+
* notable changes: swagger `:name` defaults to `"body"` instead of `""` ([diff](https://github.com/metosin/spec-tools/compare/0.10.2...0.10.3))
67

78
## 2.0.0-alpha34-SNAPSHOT
89
* **BREAKING CHANGE**: `:formatter :muuntaja` sometimes required for `api{-middleware}` options

test19/compojure/api/coercion/spec_coercion_test.clj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@
393393
:responses {:default {:description ""}}}}
394394
"/body-map" {:post {:parameters [{:description ""
395395
:in "body"
396-
:name ""
396+
:name "body"
397397
:required true
398398
:schema {:properties {:x {:format "int64"
399399
:type "integer"}
@@ -404,7 +404,7 @@
404404
:responses {:default {:description ""}}}}
405405
"/body-params" {:post {:parameters [{:description ""
406406
:in "body"
407-
:name ""
407+
:name "body"
408408
:required true
409409
:schema {:properties {:x {:format "int64"
410410
:type "integer"}
@@ -415,7 +415,7 @@
415415
:responses {:default {:description ""}}}}
416416
"/body-string" {:post {:parameters [{:description ""
417417
:in "body"
418-
:name ""
418+
:name "body"
419419
:required true
420420
:schema {:type "string"}}]
421421
:responses {:default {:description ""}}}}
@@ -476,7 +476,7 @@
476476
:default {:description ""}}}
477477
:post {:parameters [{:description ""
478478
:in "body"
479-
:name ""
479+
:name "body"
480480
:required true
481481
:schema {:properties {:x {:format "int64"
482482
:type "integer"}

0 commit comments

Comments
 (0)