We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27e2675 commit a2606a2Copy full SHA for a2606a2
servant/src/Servant/API/UVerb.hs
@@ -96,7 +96,7 @@ instance HasStatus a => HasStatus (Headers ls a) where
96
-- | WARNING: UVerb is deprecated. Please use MultiVerb instead!
97
--
98
-- A variant of 'Verb' that can have any of a number of response values and status codes.
99
-data UVerb (method :: StdMethod) (contentTypes :: [Type]) (as :: [Type])
+data UVerb {-# DEPRECATED "Use MultiVerb instead" #-} (method :: StdMethod) (contentTypes :: [Type]) (as :: [Type])
100
101
instance {-# OVERLAPPING #-} MimeRender JSON a => MimeRender JSON (WithStatus _status a) where
102
mimeRender contentTypeProxy (WithStatus a) = mimeRender contentTypeProxy a
0 commit comments