@@ -27,6 +27,7 @@ import Control.Lens (makeLenses, over, traversed, (%~),
2727import qualified Control.Monad.Omega as Omega
2828import Data.ByteString.Conversion (ToByteString, toByteString)
2929import Data.ByteString.Lazy.Char8 (ByteString)
30+import qualified Data.ByteString.Char8 as BSC
3031import qualified Data.CaseInsensitive as CI
3132import Data.Hashable (Hashable)
3233import Data.HashMap.Strict (HashMap)
@@ -522,7 +523,7 @@ markdown api = unlines $
522523 responseStr (action ^. response) ++
523524 []
524525
525− where str = "## " ++ show (endpoint^.method)
526+ where str = "## " ++ BSC.unpack (endpoint^.method)
526527 ++ " " ++ showPath (endpoint^.path)
527528
528529 introsStr :: [DocIntro] -> [String]