File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
## 0.18.0 (x.x.2015)
2
2
3
- - Support passing options to specific format middlewares:
3
+ - Support passing options to specific format middlewares (merged into defaults) :
4
4
``` clj
5
5
(defapi app
6
- {:format {:params-opts {:transit-json {:options {:handlers readers}}}
7
- :response-opts {:transit-json {:handlers writers}}}})
8
- ...
6
+ {:format {:formats [:json-kw :yaml-kw :edn :transit-json :transit-msgpack ]
7
+ :params-opts {}
8
+ :response-opts {}}
9
+ :validation-errors {:error-handler nil
10
+ :catch-core-errors? nil }
11
+ :exceptions {:exception-handler default-exception-handler }}
12
+ ... )
9
13
```
10
14
- import ` compojure.core/wrap-routes ` into ` compojure.api.sweet `
11
15
- ** BREAKING** : in ` compojure.api.middleware ` , ` ex-info-support ` is now parametrizable ` wrap-exception `
17
21
[prismatic/schema "0.3.7"] is available but we use "0.3.3"
18
22
[metosin/ring-swagger "0.18.0"] is available but we use "0.15.0"
19
23
[metosin/ring-http-response "0.6.0"] is available but we use "0.5.2"
24
+ [metosin/ring-middleware-format "0.6.0"] is available but we use "0.5.0"
20
25
```
21
26
22
27
## 0.17.0 (10.1.2015)
Original file line number Diff line number Diff line change @@ -471,13 +471,11 @@ macroexpanding-1 it too see what's get generated:
471
471
472
472
## Roadmap
473
473
474
+ - Swagger 2.0
474
475
- don't pollute api namespaces with `+routes+` var, use lexically/dynamically scoped route tree instead
475
476
- collect routes from root, not from `swaggered`
476
477
- type-safe `:params` destructuring
477
478
- `url-for` for endpoints (bidi, bidi, bidi)
478
- - include external common use middlewares (ring-middleware-format, ring-cors etc.)
479
- - file handling
480
- - `WS*`?
481
479
482
480
## License
483
481
You can’t perform that action at this time.
0 commit comments