Files
openapi-generator/modules/swagger-codegen/src/main/resources/haskell-http-client/TopLevel.mustache
Jon Schoning bca2b9fb5b [haskell-http-client] handle */* mimetype correctly & split api modules & allowNonUniqueOperationIds (#7254)
* [haskell-http-client] handle */* mimetype correctly

* [haskell-http-client] generate separate api modules, for each child api

* [haskell-http-client] add cliOption "allowNonUniqueOperationIds"

When cli option "allowNonUniqueOperationIds" is true,
allows *different* API modules to contain the same operationId,
and then each API must be imported qualified.
2018-01-07 11:59:55 +08:00

22 lines
573 B
Plaintext

{{>partial_header}}
{-|
Module : {{title}}
-}
module {{title}}
( {{^x-allowNonUniqueOperationIds}} module {{title}}.API
,{{/x-allowNonUniqueOperationIds}} module {{title}}.Client
, module {{title}}.Core
, module {{title}}.Logging
, module {{title}}.MimeTypes
, module {{title}}.Model
, module {{title}}.ModelLens
) where
{{^x-allowNonUniqueOperationIds}}import {{title}}.API{{/x-allowNonUniqueOperationIds}}
import {{title}}.Client
import {{title}}.Core
import {{title}}.Logging
import {{title}}.MimeTypes
import {{title}}.Model
import {{title}}.ModelLens