Fabrizio Ferrai 6976a8c775 Upgrade haskell-servant generator to latest LTS (#1469)
* [Haskell Servant] Upgrade to lts-12

- Upgrade Servant to the latest version
- Add Maybe for optional values
- Add UUID, UTCTime and Day types
- Fix the URL configuration so that it has one param with all data
- Add Data and ToSchema instances to models
- Switch to TLS http manager so it can connect to https urls
- Add nicer API to call the endpoints
- Add Nix support

* [Haskell Servant] Upgrade Petstore

* [Haskell Servant] Delete old swagger-petstore samples

* [Haskell Servant] Use generics for ToForm and FromForm instances

* [Haskell Servant] Generate ToSchema instance only if it's safe to do
2018-12-04 19:03:08 +08:00

41 lines
1.3 KiB
Plaintext

name: openapi-petstore
version: 0.1.0.0
synopsis: Auto-generated API bindings for openapi-petstore
description: Please see README.md
homepage: https://openapi-generator.tech
author: Author Name Here
maintainer: author.name@email.com
copyright: YEAR - AUTHOR
category: Web
build-type: Simple
cabal-version: >=1.10
library
hs-source-dirs: lib
exposed-modules: OpenAPIPetstore.API
, OpenAPIPetstore.Types
ghc-options: -Wall
build-depends: base
, aeson
, text
, containers
, exceptions
, network-uri
, servant
, http-api-data
, servant
, servant-client
, servant-client-core
, servant-server
, servant
, warp
, transformers
, mtl
, time
, http-client
, http-client-tls
, http-types
, swagger2
, uuid
default-language: Haskell2010