File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/Servant/OpenApi/Internal/TypeLevel Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ type family BodyTypes' c api :: [*] where
94
94
BodyTypes' c (a :<|> b ) = AppendList (BodyTypes' c a ) (BodyTypes' c b )
95
95
#if MIN_VERSION_servant(0,19,0)
96
96
BodyTypes' c (NamedRoutes api) = BodyTypes' c (ToServantApi api)
97
- #endif
98
97
-- Handle UVerb by recursively expanding it to BodyTypes' c (Verb ...)
99
98
-- Unwrap WithStatus explicitly to avoid trying to expand
100
99
-- `Verb .. (WithStatus n a)` later on.
@@ -107,5 +106,5 @@ type family BodyTypes' c api :: [*] where
107
106
BodyTypes' c (UVerb verb cs (a ': as)) =
108
107
AppendList (BodyTypes' c (Verb verb (StatusOf a) cs a)) (BodyTypes' c (UVerb verb cs as))
109
108
BodyTypes' c (UVerb verb cs '[] ) = '[]
110
-
109
+ #endif
111
110
BodyTypes' c api = '[]
You can’t perform that action at this time.
0 commit comments