mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 20:50:55 +00:00
46 lines
8.0 KiB
HTML
46 lines
8.0 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><title>generators/haskell-http-client · OpenAPI Generator</title><meta name="viewport" content="width=device-width"/><meta name="generator" content="Docusaurus"/><meta name="description" content="<hr>
|
|
"/><meta name="docsearch:language" content="en"/><meta property="og:title" content="generators/haskell-http-client · OpenAPI Generator"/><meta property="og:type" content="website"/><meta property="og:url" content="https://openapi-generator.tech/index.html"/><meta property="og:description" content="<hr>
|
|
"/><meta property="og:image" content="https://openapi-generator.tech/img/docusaurus.png"/><meta name="twitter:card" content="summary"/><meta name="twitter:image" content="https://openapi-generator.tech/img/icons/twitter.svg"/><link rel="shortcut icon" href="/img/favicon.png"/><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/><link rel="alternate" type="application/atom+xml" href="https://openapi-generator.tech/blog/atom.xml" title="OpenAPI Generator Blog ATOM Feed"/><link rel="alternate" type="application/rss+xml" href="https://openapi-generator.tech/blog/feed.xml" title="OpenAPI Generator Blog RSS Feed"/><script>
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
|
|
|
ga('create', 'UA-132927057-1', 'auto');
|
|
ga('send', 'pageview');
|
|
</script><script type="text/javascript" src="https://buttons.github.io/buttons.js"></script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js"></script><script type="text/javascript" src="/js/code-block-buttons.js"></script><link rel="stylesheet" href="/css/main.css"/></head><body class="sideNavVisible separateOnPageNav"><div class="fixedHeaderContainer"><div class="headerWrapper wrapper"><header><a href="/"><img class="logo" src="/img/mono-logo.svg" alt="OpenAPI Generator"/><h2 class="headerTitleWithLogo">OpenAPI Generator</h2></a><div class="navigationWrapper navigationSlider"><nav class="slidingNav"><ul class="nav-site nav-site-internal"><li class=""><a href="/docs/installation" target="_self">Get Started</a></li><li class=""><a href="/docs/generators" target="_self">Generators</a></li><li class=""><a href="/docs/roadmap" target="_self">Roadmap</a></li><li class=""><a href="/team" target="_self">Team</a></li><li class=""><a href="/docs/faq" target="_self">FAQ</a></li><li class=""><a href="/blog/" target="_self">Blog</a></li></ul></nav></div></header></div></div><div class="navPusher"><div class="docMainWrapper wrapper"><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><h1 class="postHeaderTitle">generators/haskell-http-client</h1></header><article><div><span><hr>
|
|
<p>id: generator-opts-client-haskell-http-client
|
|
title: Config Options for haskell-http-client
|
|
sidebar_label: haskell-http-client</p>
|
|
<hr>
|
|
<table>
|
|
<thead>
|
|
<tr><th>Option</th><th>Description</th><th>Values</th><th>Default</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>sortParamsByRequiredFlag</td><td>Sort method arguments to place required parameters before optional parameters.</td><td></td><td>true</td></tr>
|
|
<tr><td>ensureUniqueParams</td><td>Whether to ensure parameter names are unique in an operation (rename parameters that are not).</td><td></td><td>true</td></tr>
|
|
<tr><td>allowUnicodeIdentifiers</td><td>boolean, toggles whether unicode identifiers are allowed in names or not, default is false</td><td></td><td>false</td></tr>
|
|
<tr><td>prependFormOrBodyParameters</td><td>Add form or body parameters to the beginning of the parameter list.</td><td></td><td>false</td></tr>
|
|
<tr><td>cabalPackage</td><td>Set the cabal package name, which consists of one or more alphanumeric words separated by hyphens</td><td></td><td>null</td></tr>
|
|
<tr><td>cabalVersion</td><td>Set the cabal version number, consisting of a sequence of one or more integers separated by dots</td><td></td><td>null</td></tr>
|
|
<tr><td>baseModule</td><td>Set the base module namespace</td><td></td><td>null</td></tr>
|
|
<tr><td>requestType</td><td>Set the name of the type used to generate requests</td><td></td><td>null</td></tr>
|
|
<tr><td>configType</td><td>Set the name of the type used for configuration</td><td></td><td>null</td></tr>
|
|
<tr><td>allowFromJsonNulls</td><td>allow JSON Null during model decoding from JSON</td><td></td><td>true</td></tr>
|
|
<tr><td>allowToJsonNulls</td><td>allow emitting JSON Null during model encoding to JSON</td><td></td><td>false</td></tr>
|
|
<tr><td>allowNonUniqueOperationIds</td><td>allow different API modules to contain the same operationId. Each API must be imported qualified</td><td></td><td>false</td></tr>
|
|
<tr><td>generateLenses</td><td>Generate Lens optics for Models</td><td></td><td>true</td></tr>
|
|
<tr><td>generateModelConstructors</td><td>Generate smart constructors (only supply required fields) for models</td><td></td><td>true</td></tr>
|
|
<tr><td>generateEnums</td><td>Generate specific datatypes for OpenAPI enums</td><td></td><td>true</td></tr>
|
|
<tr><td>generateFormUrlEncodedInstances</td><td>Generate FromForm/ToForm instances for models that are used by operations that produce or consume application/x-www-form-urlencoded</td><td></td><td>true</td></tr>
|
|
<tr><td>inlineMimeTypes</td><td>Inline (hardcode) the content-type and accept parameters on operations, when there is only 1 option</td><td></td><td>true</td></tr>
|
|
<tr><td>modelDeriving</td><td>Additional classes to include in the deriving() clause of Models</td><td></td><td>null</td></tr>
|
|
<tr><td>strictFields</td><td>Add strictness annotations to all model fields</td><td></td><td>true</td></tr>
|
|
<tr><td>useMonadLogger</td><td>Use the monad-logger package to provide logging (if false, use the katip logging package)</td><td></td><td>false</td></tr>
|
|
<tr><td>dateTimeFormat</td><td>format string used to parse/render a datetime</td><td></td><td>null</td></tr>
|
|
<tr><td>dateFormat</td><td>format string used to parse/render a date</td><td></td><td>%Y-%m-%d</td></tr>
|
|
<tr><td>hideGenerationTimestamp</td><td>Hides the generation timestamp when files are generated.</td><td></td><td>true</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 2019-1-18</em></div><div class="docs-prevnext"></div></div></div><nav class="onPageNav"></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/mono-logo.svg" alt="OpenAPI Generator" width="66" height="58"/></a><div><h5>Docs</h5><a href="/docs/en/customization.html">Customizing Generators</a><a href="/docs/en/integrations.html">Workflow Integrations</a></div><div><h5>Community</h5><a href="/en/users.html">User Showcase</a><a href="http://stackoverflow.com/questions/tagged/openapi-generator" target="_blank" rel="noreferrer noopener">Stack Overflow</a><a href="https://gitter.im/OpenAPITools/openapi-generator">Chat Room</a><a href="https://twitter.com/oas_generator" target="_blank" rel="noreferrer noopener">Twitter</a></div><div><h5>More</h5><a href="/blog">Blog</a><a href="https://github.com/OpenAPITools/openapi-generator">GitHub Repo</a><a class="github-button" href="https://github.com/OpenAPITools/openapi-generator" data-icon="octicon-star" data-count-href="/OpenAPITools/openapi-generator/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a></div></section><section class="copyright">Copyright © 2019 OpenAPI-Generator Contributors (https://openapi-generator.tech). (Both "OpenAPI Tools" (https://OpenAPITools.org) and "OpenAPI Generator" are not affiliated with OpenAPI Initiative (OAI))</section></footer></div></body></html> |