2014-11-27 18:28:01 +01:00
|
|
|
name: servant-docs
|
2015-01-04 17:18:40 +01:00
|
|
|
version: 0.3
|
2014-12-08 11:25:52 +01:00
|
|
|
synopsis: generate API docs for your servant webservice
|
|
|
|
description:
|
|
|
|
Library for generating API docs from a servant API definition.
|
|
|
|
.
|
2014-12-10 16:43:43 +01:00
|
|
|
Runnable example <https://github.com/haskell-servant/servant-docs/blob/master/example/greet.hs here>.
|
2015-04-20 16:00:51 +02:00
|
|
|
.
|
|
|
|
<https://github.com/haskell-servant/servant/blob/master/servant-docs/CHANGELOG.md CHANGELOG>
|
2014-11-27 18:28:01 +01:00
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Alp Mestanogullari, Sönke Hahn, Julian K. Arni
|
|
|
|
maintainer: alpmestan@gmail.com
|
2015-01-04 17:18:40 +01:00
|
|
|
copyright: 2014-2015 Zalora South East Asia Pte Ltd
|
2014-11-27 18:28:01 +01:00
|
|
|
category: Web
|
|
|
|
build-type: Simple
|
|
|
|
cabal-version: >=1.10
|
|
|
|
tested-with: GHC >= 7.8
|
2014-12-08 11:25:52 +01:00
|
|
|
homepage: http://haskell-servant.github.io/
|
2015-04-20 15:55:41 +02:00
|
|
|
Bug-reports: http://github.com/haskell-servant/servant/issues
|
2015-01-04 17:18:40 +01:00
|
|
|
extra-source-files:
|
|
|
|
CHANGELOG.md
|
|
|
|
README.md
|
2014-12-08 11:25:52 +01:00
|
|
|
source-repository head
|
|
|
|
type: git
|
2015-04-20 15:55:41 +02:00
|
|
|
location: http://github.com/haskell-servant/servant.git
|
2014-11-27 18:28:01 +01:00
|
|
|
|
|
|
|
library
|
|
|
|
exposed-modules:
|
2015-04-08 16:27:38 +02:00
|
|
|
Servant.Docs
|
|
|
|
, Servant.Docs.Internal
|
2014-11-27 18:28:01 +01:00
|
|
|
build-depends:
|
|
|
|
base >=4.7 && <5
|
|
|
|
, bytestring
|
|
|
|
, hashable
|
2015-02-24 08:54:14 +01:00
|
|
|
, http-media >= 0.6
|
2014-11-27 18:28:01 +01:00
|
|
|
, lens
|
2014-12-10 16:43:43 +01:00
|
|
|
, servant >= 0.2.1
|
2014-11-27 18:28:01 +01:00
|
|
|
, string-conversions
|
2014-12-08 13:07:34 +01:00
|
|
|
, text
|
2014-11-27 18:28:01 +01:00
|
|
|
, unordered-containers
|
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
2014-12-08 11:25:52 +01:00
|
|
|
ghc-options: -Wall
|
2014-11-27 18:28:01 +01:00
|
|
|
|
|
|
|
executable greet-docs
|
|
|
|
main-is: greet.hs
|
|
|
|
hs-source-dirs: example
|
2014-12-08 11:25:52 +01:00
|
|
|
ghc-options: -Wall
|
2015-04-08 16:27:38 +02:00
|
|
|
build-depends:
|
|
|
|
base
|
|
|
|
, aeson
|
|
|
|
, lens
|
|
|
|
, servant
|
|
|
|
, servant-docs
|
|
|
|
, string-conversions
|
|
|
|
, text
|
2014-11-27 18:28:01 +01:00
|
|
|
default-language: Haskell2010
|
2015-04-08 16:27:38 +02:00
|
|
|
|
|
|
|
test-suite spec
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Spec.hs
|
|
|
|
hs-source-dirs: test
|
|
|
|
ghc-options: -Wall
|
|
|
|
build-depends:
|
|
|
|
base
|
|
|
|
, aeson
|
|
|
|
, hspec
|
|
|
|
, servant
|
|
|
|
, servant-docs
|
|
|
|
, string-conversions
|
|
|
|
default-language: Haskell2010
|
|
|
|
|