forked from loafle/openapi-generator-original
* update readme; remove unused DeriveAnyClass extension * refactor request/param utility functions * add strictFields cli option * add CONTRIBUTING.md
85 lines
1.8 KiB
YAML
85 lines
1.8 KiB
YAML
name: swagger-petstore
|
|
version: '0.1.0.0'
|
|
synopsis: Auto-generated swagger-petstore API Client
|
|
description: ! '
|
|
|
|
Client library for calling the swagger-petstore API based on http-client.
|
|
|
|
host: petstore.swagger.io
|
|
|
|
|
|
base path: http://petstore.swagger.io/v2
|
|
|
|
|
|
apiVersion: 0.0.1
|
|
|
|
|
|
swagger version: 2.0
|
|
|
|
|
|
OpenAPI-Specification: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.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
|
|
ghc-options: -Wall
|
|
library:
|
|
source-dirs: lib
|
|
ghc-options:
|
|
|
|
exposed-modules:
|
|
- SwaggerPetstore
|
|
- SwaggerPetstore.API
|
|
- SwaggerPetstore.Client
|
|
- SwaggerPetstore.Model
|
|
- SwaggerPetstore.MimeTypes
|
|
- SwaggerPetstore.Lens
|
|
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
|
|
- microlens >= 0.4.3 && <0.5
|
|
tests:
|
|
tests:
|
|
main: Test.hs
|
|
source-dirs: tests
|
|
ghc-options:
|
|
- -fno-warn-orphans
|
|
dependencies:
|
|
- swagger-petstore
|
|
- bytestring >=0.10.0 && <0.11
|
|
- containers
|
|
- hspec >=1.8
|
|
- text
|
|
- time
|
|
- iso8601-time
|
|
- aeson
|
|
- semigroups
|
|
- QuickCheck
|