swagger2-2.8.7: Swagger 2.0 data model
MaintainerNickolay Kudasov <nickolay@getshoptv.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Data.Swagger.SchemaOptions

Description

Generic deriving options for ToParamSchema and ToSchema.

Synopsis

Documentation

data SchemaOptions Source #

Options that specify how to encode your type to Swagger schema.

Constructors

SchemaOptions 

Fields

fromAesonOptions :: Options -> SchemaOptions Source #

Convert Options to SchemaOptions.

Specifically the following fields get copied:

Note that these fields have no effect on SchemaOptions:

  • omitNothingFields
  • sumEncoding
  • tagSingleConstructors

The rest is defined as in defaultSchemaOptions.

Since: 2.2.1