This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
fradrive-old/src/Servant/Docs/Internal/Pretty/Instances.hs
2022-10-12 09:35:16 +02:00

19 lines
437 B
Haskell

-- SPDX-FileCopyrightText: 2022 Sarah Vaupel <sarah.vaupel@ifi.lmu.de>
--
-- SPDX-License-Identifier: AGPL-3.0-or-later
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Servant.Docs.Internal.Pretty.Instances () where
import ClassyPrelude
import Servant.Docs.Internal.Pretty
import Servant.API.ContentTypes
import Data.Proxy
instance MimeUnrender JSON a => MimeUnrender PrettyJSON a where
mimeUnrender _ = mimeUnrender $ Proxy @JSON