forked from loafle/openapi-generator-original
- default CLI option InlineMimeTypes to True, since it produces cleaner code - update bounds on dependancies
105 lines
3.0 KiB
Plaintext
105 lines
3.0 KiB
Plaintext
name: {{cabalPackage}}
|
|
version: {{cabalVersion}}
|
|
synopsis: Auto-generated {{cabalPackage}} API Client
|
|
description: .
|
|
Client library for calling the {{appName}} API based on http-client.
|
|
.
|
|
host: {{host}}
|
|
.
|
|
base path: {{basePath}}
|
|
{{#version}}
|
|
.
|
|
{{appName}} API version: {{{.}}}
|
|
{{/version}}
|
|
.
|
|
OpenAPI spec version: {{swaggerVersion}}
|
|
.
|
|
{{^hideGenerationTimestamp}}Generated on: {{generatedDate}}
|
|
.
|
|
{{/hideGenerationTimestamp}}OpenAPI-Specification: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/{{swaggerVersion}}.md
|
|
.
|
|
category: Web
|
|
homepage: https://github.com/swagger-api/swagger-codegen#readme
|
|
author: Author Name Here
|
|
maintainer: author.name@email.com
|
|
copyright: YEAR - AUTHOR
|
|
license: UnspecifiedLicense
|
|
build-type: Simple
|
|
cabal-version: >= 1.10
|
|
|
|
extra-source-files:
|
|
README.md
|
|
swagger.yaml
|
|
|
|
library
|
|
hs-source-dirs:
|
|
lib
|
|
ghc-options: -Wall -funbox-strict-fields
|
|
build-depends:
|
|
aeson >=1.0 && <2.0
|
|
, base >=4.7 && <5.0
|
|
, base64-bytestring >1.0 && <2.0
|
|
, bytestring >=0.10.0 && <0.11
|
|
, case-insensitive
|
|
, containers >=0.5.0.0 && <0.6
|
|
, deepseq >= 1.4 && <1.6
|
|
, exceptions >= 0.4
|
|
, http-api-data >= 0.3.4 && <0.4
|
|
, http-client >=0.5 && <0.6
|
|
, http-client-tls
|
|
, http-media >= 0.4 && < 0.8
|
|
, http-types >=0.8 && <0.13
|
|
, iso8601-time >=0.1.3 && <0.2.0
|
|
, microlens >= 0.4.3 && <0.5
|
|
, mtl >=2.2.1
|
|
, network >=2.6.2 && <2.7
|
|
, random >=1.1
|
|
, safe-exceptions <0.2
|
|
, text >=0.11 && <1.3
|
|
, time >=1.5 && <1.10
|
|
, transformers >=0.4.0.0
|
|
, unordered-containers
|
|
, vector >=0.10.9 && <0.13
|
|
, {{^x-useMonadLogger}}katip >=0.4 && < 0.6{{/x-useMonadLogger}}{{#x-useMonadLogger}}monad-logger >=0.3 && <0.4{{/x-useMonadLogger}}
|
|
other-modules:
|
|
Paths_{{pathsName}}
|
|
exposed-modules:
|
|
{{baseModule}}{{^x-allowNonUniqueOperationIds}}
|
|
{{baseModule}}.API{{/x-allowNonUniqueOperationIds}}{{#apiInfo}}{{#apis}}
|
|
{{baseModule}}.API.{{classname}}{{/apis}}{{/apiInfo}}
|
|
{{baseModule}}.Client
|
|
{{baseModule}}.Core
|
|
{{baseModule}}.Logging
|
|
{{baseModule}}.MimeTypes
|
|
{{baseModule}}.Model
|
|
{{baseModule}}.ModelLens
|
|
default-language: Haskell2010
|
|
|
|
test-suite tests
|
|
type: exitcode-stdio-1.0
|
|
main-is: Test.hs
|
|
hs-source-dirs:
|
|
tests
|
|
ghc-options: -Wall -fno-warn-orphans
|
|
build-depends:
|
|
{{cabalPackage}}
|
|
, QuickCheck
|
|
, aeson
|
|
, base >=4.7 && <5.0
|
|
, bytestring >=0.10.0 && <0.11
|
|
, containers
|
|
, hspec >=1.8
|
|
, iso8601-time
|
|
, mtl >=2.2.1
|
|
, semigroups
|
|
, text
|
|
, time
|
|
, transformers >=0.4.0.0
|
|
, unordered-containers
|
|
, vector
|
|
other-modules:
|
|
ApproxEq
|
|
Instances
|
|
PropMime
|
|
default-language: Haskell2010
|