From b0c0839b5059f3e91da669258ba8ac0d4f41e242 Mon Sep 17 00:00:00 2001 From: Ambrose Bonnaire-Sergeant Date: Sun, 21 Apr 2024 23:22:54 -0500 Subject: [PATCH] Close https://github.com/metosin/compojure-api/issues/456 --- CHANGELOG.md | 2 +- src/compojure/api/middleware.clj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2469fa95..a802c111 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1062,7 +1062,7 @@ nil for format negotiation, encoding and decoding. - 4x more throughput on 1k JSON request-response echo - api key `:format` has been deprecated (fails at api creation time), use `:formats` instead. It consumes either a - Muuntaja instance, Muuntaja options map or `nil` (unmounts it). See [how to configure Muuntaja](https://github.com/metosin/muuntaja/wiki/Configuration) how to use. + Muuntaja instance, Muuntaja options map or `nil` (unmounts it). See [how to configure Muuntaja](https://github.com/metosin/muuntaja/blob/master/doc/Configuration.md) how to use. * ~~**EXPERIMENTAL**~~: fast `context`s, [#253](https://github.com/metosin/compojure-api/pull/253) - use static routes if a `context` doesn't do any lexical bindings - up to 4x faster `context` routing. * Support delayed child route resolution. diff --git a/src/compojure/api/middleware.clj b/src/compojure/api/middleware.clj index 1217b3a8..8cdf83b5 100644 --- a/src/compojure/api/middleware.clj +++ b/src/compojure/api/middleware.clj @@ -239,7 +239,7 @@ - **:formats** for Muuntaja middleware. Value can be a valid muuntaja options-map, a Muuntaja instance or nil (to unmount it). See - https://github.com/metosin/muuntaja/wiki/Configuration for details. + https://github.com/metosin/muuntaja/blob/master/doc/Configuration.md for details. - **:middleware** vector of extra middleware to be applied last (just before the handler). @@ -303,7 +303,7 @@ - **:formats** for Muuntaja middleware. Value can be a valid muuntaja options-map, a Muuntaja instance or nil (to unmount it). See - https://github.com/metosin/muuntaja/wiki/Configuration for details." + https://github.com/metosin/muuntaja/blob/master/doc/Configuration.md for details." ([handler] (wrap-format handler {:formats ::default})) ([handler options]