Options that specify how to encode your type to Swagger schema.
Constructors
SchemaOptionsfieldLabelModifier :: String -> StringFunction applied to field labels. Handy for removing common record prefixes for example.
constructorTagModifier :: String -> StringFunction applied to constructor tags which could be handy for lower-casing them for example.
datatypeNameModifier :: String -> StringFunction applied to datatype name.
allNullaryToStringTag :: BoolIf
Truethe constructors of a datatype, with all nullary constructors, will be encoded to a string enumeration schema with the constructor tags as possible values.unwrapUnaryRecords :: BoolHide the field name when a record constructor has only one field, like a newtype.
sumEncoding :: SumEncodingSpecifies how to encode constructors of a sum datatype.