@@ -1,4 +1,3 @@
1−{-# LANGUAGE CPP #-}
21{-# LANGUAGE DataKinds #-}
32{-# LANGUAGE FlexibleContexts #-}
43{-# LANGUAGE GADTs #-}
@@ -139,15 +138,7 @@ sopSwaggerGenericToJSON'
139138 -> DatatypeInfo '[xs]
140139 -> POP Maybe '[xs]
141140 -> [Pair]
142−sopSwaggerGenericToJSON'
143− opts
144− (SOP (Z fields))
145−#if MIN_VERSION_generics_sop(0,5,0)
146− (ADT _ _ (Record _ fieldsInfo :* Nil) _)
147−#else
148− (ADT _ _ (Record _ fieldsInfo :* Nil))
149−#endif
150− (POP (defs :* Nil)) =
141+sopSwaggerGenericToJSON' opts (SOP (Z fields)) (ADT _ _ (Record _ fieldsInfo :* Nil) _) (POP (defs :* Nil)) =
151142 sopSwaggerGenericToJSON'' opts fields fieldsInfo defs
152143sopSwaggerGenericToJSON' _ _ _ _ = error "sopSwaggerGenericToJSON: unsupported type"
153144
@@ -220,15 +211,7 @@ sopSwaggerGenericParseJSON'
220211 -> DatatypeInfo '[xs]
221212 -> POP Maybe '[xs]
222213 -> Parser (SOP I '[xs])
223−sopSwaggerGenericParseJSON'
224− opts
225− obj
226−#if MIN_VERSION_generics_sop(0,5,0)
227− (ADT _ _ (Record _ fieldsInfo :* Nil) _)
228−#else
229− (ADT _ _ (Record _ fieldsInfo :* Nil))
230−#endif
231− (POP (defs :* Nil)) =
214+sopSwaggerGenericParseJSON' opts obj (ADT _ _ (Record _ fieldsInfo :* Nil) _) (POP (defs :* Nil)) =
232215 SOP . Z <$> sopSwaggerGenericParseJSON'' opts obj fieldsInfo defs
233216sopSwaggerGenericParseJSON' _ _ _ _ = error "sopSwaggerGenericParseJSON: unsupported type"
234217
@@ -295,15 +278,7 @@ sopSwaggerGenericToEncoding'
295278 -> DatatypeInfo '[xs]
296279 -> POP Maybe '[xs]
297280 -> Series
298−sopSwaggerGenericToEncoding'
299− opts
300− (SOP (Z fields))
301−#if MIN_VERSION_generics_sop(0,5,0)
302− (ADT _ _ (Record _ fieldsInfo :* Nil) _)
303−#else
304− (ADT _ _ (Record _ fieldsInfo :* Nil))
305−#endif
306− (POP (defs :* Nil)) =
281+sopSwaggerGenericToEncoding' opts (SOP (Z fields)) (ADT _ _ (Record _ fieldsInfo :* Nil) _) (POP (defs :* Nil)) =
307282 sopSwaggerGenericToEncoding'' opts fields fieldsInfo defs
308283sopSwaggerGenericToEncoding' _ _ _ _ = error "sopSwaggerGenericToEncoding: unsupported type"
309284