forked from loafle/openapi-generator-original
85 lines
1.8 KiB
Plaintext
85 lines
1.8 KiB
Plaintext
name: {{package}}
|
|
version: '0.1.0.0'
|
|
synopsis: Auto-generated {{package}} API Client
|
|
description: ! '
|
|
|
|
Client library for calling the {{package}} API based on http-client.
|
|
|
|
host: {{host}}
|
|
|
|
|
|
base path: {{basePath}}
|
|
|
|
|
|
apiVersion: {{apiVersion}}
|
|
|
|
|
|
swagger version: {{swaggerVersion}}
|
|
|
|
|
|
{{^hideGenerationTimestamp}}Generated on: {{generatedDate}}
|
|
|
|
|
|
{{/hideGenerationTimestamp}}OpenAPI-Specification: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/{{swaggerVersion}}.md
|
|
'
|
|
category: Web
|
|
author: Author Name Here
|
|
maintainer: author.name@email.com
|
|
copyright: YEAR - AUTHOR
|
|
license: UnspecifiedLicense
|
|
homepage: https://github.com/swagger-api/swagger-codegen#readme
|
|
extra-source-files:
|
|
- README.md
|
|
- swagger.json
|
|
dependencies:
|
|
- base >=4.7 && <5.0
|
|
- transformers >=0.4.0.0
|
|
- mtl >=2.2.1
|
|
- unordered-containers
|
|
library:
|
|
source-dirs: lib
|
|
ghc-options: -Wall
|
|
exposed-modules:
|
|
- {{title}}
|
|
- {{title}}.API
|
|
- {{title}}.Client
|
|
- {{title}}.Model
|
|
- {{title}}.MimeTypes
|
|
{{#generateLenses}}- {{title}}.Lens{{/generateLenses}}
|
|
dependencies:
|
|
- aeson >=1.0 && <2.0
|
|
- bytestring >=0.10.0 && <0.11
|
|
- containers >=0.5.0.0 && <0.6
|
|
- http-types >=0.8 && <0.10
|
|
- http-client >=0.5 && <0.6
|
|
- http-client-tls
|
|
- http-api-data >= 0.3.4 && <0.4
|
|
- http-media >= 0.4 && < 0.8
|
|
- text >=0.11 && <1.3
|
|
- time >=1.5 && <1.9
|
|
- iso8601-time >=0.1.3 && <0.2.0
|
|
- vector >=0.10.9 && <0.13
|
|
- network >=2.6.2 && <2.7
|
|
- random >=1.1
|
|
- exceptions >= 0.4
|
|
- monad-logger >=0.3 && <0.4
|
|
- safe-exceptions <0.2
|
|
- case-insensitive
|
|
tests:
|
|
tests:
|
|
main: Test.hs
|
|
source-dirs: tests
|
|
ghc-options:
|
|
- -fno-warn-orphans
|
|
dependencies:
|
|
- {{package}}
|
|
- bytestring >=0.10.0 && <0.11
|
|
- containers
|
|
- hspec >=1.8
|
|
- text
|
|
- time
|
|
- iso8601-time
|
|
- aeson
|
|
- semigroups
|
|
- QuickCheck
|