@@ -11,6 +11,11 @@ maintainer: nick@typeable.io
11category: Web
11category: Web
12build-type: Simple
12build-type: Simple
15+ description: Enable openapi instances
14common warnings
19common warnings
15 ghc-options: -Wall
20 ghc-options: -Wall
@@ -18,7 +23,6 @@ library
18 import: warnings
23 import: warnings
19 exposed-modules: Web.Tracking.Servant
24 exposed-modules: Web.Tracking.Servant
20 other-modules: Web.Tracking.Servant.Types
25 other-modules: Web.Tracking.Servant.Types
22 build-depends: base >=4.14.0.0 && < 5,
26 build-depends: base >=4.14.0.0 && < 5,
23 bytestring >= 0.11,
27 bytestring >= 0.11,
24 containers >= 0.6,
28 containers >= 0.6,
@@ -28,5 +32,9 @@ library
28 servant-client-core >= 0.19,
32 servant-client-core >= 0.19,
29 servant-server >= 0.19,
33 servant-server >= 0.19,
30 wai >= 3.2
34 wai >= 3.2
36+ other-modules: Web.Tracking.Servant.OpenAPI
37+ build-depends: servant-openapi3
38+ cpp-options: -DOPENAPI
31 hs-source-dirs: src
39 hs-source-dirs: src
32 default-language: GHC2021
40 default-language: GHC2021