reitit icon indicating copy to clipboard operation
reitit copied to clipboard

A fast data-driven routing library for Clojure/Script

Results 151 reitit issues
Sort by recently updated
recently updated
newest added

https://github.com/metosin/reitit/blob/20b7cabed744c423d950f27746b5d87f5c6fbb3e/modules/reitit-malli/src/reitit/coercion/malli.cljc#L91-L102 Currently e.g. Malli coercion swagger docs generation ignores x-oneOf, x-allOf and x-anyOf results from malli.swagger/transform. Those properties aren't directly supported on this level of Swagger documentation, but we could...

enhancement

In a service I was working on I wanted to use a multimethod as an interceptor. It errored out and after a little digging I realized that the `IntoInterceptor` was...

Given an URL like the following, reitit finds a query param called `test`: `http://localhost:3449/#/query-params-test?test=something` While given an URL like the following reitit does not recognize any query params even though...

Documentation

POC, need to figure out API where Malli coercion can extend the merge functionality, as malli.core can't depend on malli call directly, and this must be enabled only when using...

I'm trying to use `reitit` to create URI templates by replacing a path parameter with a URI template parameter, such as in the following: ```clojure (def router (reitit/router [["/api/orders/:id" :order]]))...

Just lost 2 hours because I was passing `(reitit.core/router my-routes)` to `(reitit.ring/ring-handler)` instead of passing `(reitit.ring/router my-routes)`. It's the second time this caught me over a two-year span. Could Reitit...

E.g. `{:swagger :foobar}` `java.lang.ClassCastException: class clojure.lang.Keyword cannot be cast to class clojure.lang.IPersistentMap (clojure.lang.Keyword and clojure.lang.IPersistentMap are in unnamed module of loader 'app')` From: https://github.com/metosin/reitit/blob/master/modules/reitit-swagger/src/reitit/swagger.cljc#L97

leftover from #85 - currently `wrap-params` is required from Ring, could be optimized and packaged into `reitit-middleware`. the body-params could be pushed into Muuntaja (see https://github.com/metosin/muuntaja/issues/27). Also, query-params could support...

enhancement
help wanted

Add support for documenting curated swagger examples, see https://swagger.io/docs/specification/2-0/adding-examples/ The current schema driven data is excellent, but it'd be great to also support examples with sensible defaults and actual data,...