git.iko.soy/typeable/servant
on type-errors help sign in
typeable/servant/servant-swagger/servant-swagger.cabal
126 lines 4.6 kB history raw
1cabal-version: 2.2
2name: servant-swagger
3version: 1.1.11
4synopsis: Generate a Swagger/OpenAPI/OAS 2.0 specification for your servant API.
5description:
6 Swagger is a project used to describe and document RESTful APIs. The core of the
7 project is the [OpenAPI Specification (OAS)](https://swagger.io/docs/specification/about/).
8 This library implements v2.0 of the spec. Unlike Servant it is language-agnostic and thus is
9 quite popular among developers in different languages. It has also existed for a longer time
10 and has more helpful tooling.
11 .
12 This package provides means to generate a Swagger/OAS specification for a Servant API
13 and also to partially test whether an API conforms with its specification.
14 .
15 Generated Swagger specification then can be used for many things such as
16 .
17 * displaying interactive documentation using [Swagger UI](http://swagger.io/swagger-ui/);
18 .
19 * generating clients and servers in many languages using [Swagger Codegen](http://swagger.io/swagger-codegen/);
20 .
21 * and [many others](http://swagger.io/open-source-integrations/).
22homepage: https://github.com/haskell-servant/servant/servant-swagger
23bug-reports: https://github.com/haskell-servant/servant/issues
24license: BSD-3-Clause
25license-file: LICENSE
26author: Servant Contributors
27maintainer: haskell-servant-maintainers@googlegroups.com
28copyright: (c) 2015-2018, Servant contributors
29category: Web, Servant, Swagger
30build-type: Custom
31tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2
33extra-source-files:
34 README.md
35 , CHANGELOG.md
36 , example/server/*.hs
37 , example/src/*.hs
38 , example/test/*.hs
39 , example/*.cabal
40 , example/swagger.json
41 , example/LICENSE
42extra-doc-files:
43 example/src/*.hs
44 , example/test/*.hs
46source-repository head
47 type: git
48 location: https://github.com/haskell-servant/servant.git
50custom-setup
51 setup-depends:
52 base >=4.9 && <5,
53 cabal-doctest >=1.0.6 && <1.1
55library
56 ghc-options: -Wall
57 exposed-modules:
58 Servant.Swagger
59 Servant.Swagger.Test
60 Servant.Swagger.TypeLevel
62 -- Internal modules
63 Servant.Swagger.Internal
64 Servant.Swagger.Internal.Orphans
65 Servant.Swagger.Internal.Test
66 Servant.Swagger.Internal.TypeLevel
67 Servant.Swagger.Internal.TypeLevel.API
68 Servant.Swagger.Internal.TypeLevel.Every
69 Servant.Swagger.Internal.TypeLevel.TMap
70 hs-source-dirs: src
71 build-depends: aeson >=1.4.2.0 && <3
72 , aeson-pretty >=0.8.7 && <0.9
73 , base >=4.9.1.0 && <5
74 , base-compat >=0.10.5 && <0.12
75 , bytestring >=0.10.8.1 && <0.11
76 , http-media >=0.7.1.3 && <0.9
77 , insert-ordered-containers >=0.2.1.0 && <0.3
78 , lens >=4.17 && <6
79 , servant >=0.18.1 && <0.19
80 , singleton-bool >=0.1.4 && <0.2
81 , swagger2 >=2.3.0.1 && <3
82 , text >=1.2.3.0 && <1.3
83 , unordered-containers >=0.2.9.0 && <0.3
85 , hspec
86 , QuickCheck
87 default-language: Haskell2010
89test-suite doctests
90 ghc-options: -Wall
91 build-depends:
92 base,
93 directory >= 1.0,
94 doctest >= 0.18 && <0.19,
95 servant,
96 QuickCheck,
97 filepath
98 default-language: Haskell2010
99 hs-source-dirs: test
100 main-is: doctests.hs
101 type: exitcode-stdio-1.0
103test-suite spec
104 ghc-options: -Wall
105 type: exitcode-stdio-1.0
106 hs-source-dirs: test
107 main-is: Spec.hs
108 build-tool-depends: hspec-discover:hspec-discover >=2.6.0 && <2.8
109 build-depends: base
110 , base-compat
111 , aeson >=1.4.2.0 && <3
112 , hspec >=2.6.0 && <2.8
113 , QuickCheck
114 , lens
115 , lens-aeson >=1.0.2 && <1.2
116 , servant
117 , servant-swagger
118 , swagger2
119 , text
120 , template-haskell
121 , utf8-string >=1.0.1.1 && <1.1
122 , time
123 , vector
124 other-modules:
125 Servant.SwaggerSpec
126 default-language: Haskell2010