OpenAPI Generator

OpenAPI Generator

  • Get Started
  • Generators
  • Roadmap
  • Team
  • FAQ
  • Blog

generators/haskell-http-client


id: generator-opts-client-haskell-http-client title: Config Options for haskell-http-client sidebar_label: haskell-http-client


OptionDescriptionValuesDefault
sortParamsByRequiredFlagSort method arguments to place required parameters before optional parameters.true
ensureUniqueParamsWhether to ensure parameter names are unique in an operation (rename parameters that are not).true
allowUnicodeIdentifiersboolean, toggles whether unicode identifiers are allowed in names or not, default is falsefalse
prependFormOrBodyParametersAdd form or body parameters to the beginning of the parameter list.false
cabalPackageSet the cabal package name, which consists of one or more alphanumeric words separated by hyphensnull
cabalVersionSet the cabal version number, consisting of a sequence of one or more integers separated by dotsnull
baseModuleSet the base module namespacenull
requestTypeSet the name of the type used to generate requestsnull
configTypeSet the name of the type used for configurationnull
allowFromJsonNullsallow JSON Null during model decoding from JSONtrue
allowToJsonNullsallow emitting JSON Null during model encoding to JSONfalse
allowNonUniqueOperationIdsallow different API modules to contain the same operationId. Each API must be imported qualifiedfalse
generateLensesGenerate Lens optics for Modelstrue
generateModelConstructorsGenerate smart constructors (only supply required fields) for modelstrue
generateEnumsGenerate specific datatypes for OpenAPI enumstrue
generateFormUrlEncodedInstancesGenerate FromForm/ToForm instances for models that are used by operations that produce or consume application/x-www-form-urlencodedtrue
inlineMimeTypesInline (hardcode) the content-type and accept parameters on operations, when there is only 1 optiontrue
modelDerivingAdditional classes to include in the deriving() clause of Modelsnull
strictFieldsAdd strictness annotations to all model fieldstrue
useMonadLoggerUse the monad-logger package to provide logging (if false, use the katip logging package)false
dateTimeFormatformat string used to parse/render a datetimenull
dateFormatformat string used to parse/render a date%Y-%m-%d
hideGenerationTimestampHides the generation timestamp when files are generated.true
Last updated on 2019-1-18
OpenAPI Generator
Docs
Customizing GeneratorsWorkflow Integrations
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHub RepoStar
Facebook Open SourceFontawesome (Free)
Copyright © 2019 OpenAPI-Generator Contributors (https://openapi-generator.tech)