reitit
reitit copied to clipboard
A fast data-driven routing library for Clojure/Script
If the path is not included and you create a link it will always point to #/$path but your index file may not be root for instance /version/test/index.html#/$path
This PR targets issue #362. This commit adds a `:reitit.coercion/coerce-all-on-error?` option that ensures that all parts of requests are coerced even if one fails. Previously, only the first coercion failure...
Currently, only leaf routes can be used as endpoints. This causes unexpected behaviour, for example, when intermediate paths are defined with a handler, but they are not published. This seems...
This PR addresses issue #205 Problem: > wrap-session instantiates the default memory store per instance. This means that every route will have their own memory-store. This is a surprising default...
Does adding option to router make sense? Are there other ways to control this logic?
After setting `:options` map, I could not get custom error messages. Is there any way to provide custom error messages for malli? ```clojure (reitit.coercion.malli/create {;; set of keys to include...
The newest Swagger UI seems to prevent the submission of EDN bodies. It appears to be a purely front-end issue, since EDN that incidentally conforms to JSON spec (e.g. `{}`)...
The spec/spec-tools implementation of the `Coercion` protocol calls [`st/coerce`](https://github.com/metosin/reitit/blob/master/modules/reitit-spec/src/reitit/coercion/spec.cljc#L125) to transform both requests and responses – the `-response-coercer` is essentially the same as `-request-coercer`, just called with a different `type`...
Hi, thanks for creating this. I wonder if there is something to be said against supporting `operationId` as swagger element. I could use it right now for automated client creation...
Problem is found here https://github.com/metosin/reitit/blob/master/examples/pedestal-swagger/src/example/server.clj#L126 If you add this :img-src to the CSP settings it will start working ``` {:content-security-policy-settings {:default-src "'self'" :img-src "'self' data:" ;