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

After adding this middleware `(io.pedestal.http.ring-middlewares/content-type {:mime-types {}})` along with ``` (pedestal/routing-interceptor (reitit-http/router (routes) (reitit-router-config)) (ring/routes (swagger-ui/create-swagger-ui-handler {:path "/api-docs" :config {:validatorUrl nil :operationsSorter "alpha"}}) (ring/create-resource-handler) (ring/create-default-handler))) ``` to my `::http/interceptors` of...

Hello, I was under the impression that specs like the one below, didn't show correctly on the swagger-v2 schema because it doesn't support this kind of `one-of` semantics. I believe...

enhancement
help wanted

We use `defmulti` to dispatch API actions on a map key. To avoid needing to wrap that `defmulti` in a normal function, so that it can be used as a...

# Currently - Mix of `:body` and `:schema` - Defaults on different level of nesting compared to per-content-type stuff - Can't add per-content-type extra fields like `:examples` ```clj ["/foo" {:post...

enhancement

Like #558, but for openapi https://github.com/metosin/reitit/issues/558#issuecomment-1676466578

Currently both openapi and muuntaja features need to be given lists of supported content-types. If we've specified content-types for a route, muuntaja should use those. Related to #84 - [x]...

Like #558 but for spec & schema. ring-swagger / compojure-api used to do it, see https://github.com/metosin/ring-swagger/blob/master/src/ring/swagger/swagger2.clj#L236

Should contain something like: ```clj openapi/openapi-feature (parameters/parameters-interceptor) (muuntaja/format-negotiate-interceptor) (muuntaja/format-response-interceptor) (exception/exception-interceptor) (muuntaja/format-request-interceptor) (coercion/coerce-response-interceptor) (coercion/coerce-request-interceptor) (multipart/multipart-interceptor) ```

I was trying to put redirects in my controllers based on session state. For instance, if someone navigates to an admin page, they need to be logged in. I have...

Similar to #407, except that the maps are closed and contain optional keys. For example, ```clj (malli.core/decode [:or [:map {:closed true} [:x {:optional true} int?]] [:map {:closed true} [:y {:optional...