forked from biocad/openapi3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenapi3.cabal
147 lines (134 loc) · 4.28 KB
/
openapi3.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
cabal-version: 3.0
name: openapi3
version: 3.2.4
synopsis: OpenAPI 3.0 data model
category: Web, Swagger, OpenApi
description:
This library is intended to be used for decoding and encoding OpenAPI 3.0 API
specifications as well as manipulating them.
.
The original OpenAPI 3.0 specification is available at http://swagger.io/specification/.
homepage: https://github.com/biocad/openapi3
bug-reports: https://github.com/biocad/openapi3/issues
license: BSD-3-Clause
license-file: LICENSE
author: Nickolay Kudasov, Maxim Koltsov
maintainer: nickolay@getshoptv.com, kolmax94@gmail.com
copyright:
(c) 2015-2016, GetShopTV, (c) 2020, Biocad, (c) 2024, Scrive AB
build-type: Simple
extra-source-files:
CHANGELOG.md
examples/*.hs
README.md
tested-with: GHC ==9.2.8 || ==9.4.8 || ==9.6.6 || ==9.8.2
library
hs-source-dirs: src
exposed-modules:
Data.OpenApi
Data.OpenApi.Aeson.Compat
Data.OpenApi.Declare
Data.OpenApi.Internal
Data.OpenApi.Internal.AesonUtils
Data.OpenApi.Internal.ParamSchema
Data.OpenApi.Internal.Schema
Data.OpenApi.Internal.Schema.Validation
Data.OpenApi.Internal.TypeShape
Data.OpenApi.Internal.Utils
Data.OpenApi.Lens
Data.OpenApi.Operation
Data.OpenApi.Optics
Data.OpenApi.ParamSchema
Data.OpenApi.Schema
Data.OpenApi.Schema.Generator
Data.OpenApi.Schema.Validation
Data.OpenApi.SchemaOptions
build-depends:
aeson >=2.2.3 && <2.3
, aeson-pretty >=0.8.10 && <0.9
, base >=4.16 && <4.20
, base-compat-batteries >=0.14.0 && <0.15
, bytestring >=0.11.4 && <0.13
, containers >=0.6.5 && <0.7
, cookie >=0.5.0 && <0.6
, generics-sop >=0.5.1 && <0.6
, hashable >=1.4.7 && <1.5
, http-media >=0.8.1 && <0.9
, insert-ordered-containers >=0.2.6 && <0.3
, lens >=5.3.2 && <5.4
, mtl >=2.2.2 && <2.4
, optics-core >=0.4.1 && <0.5
, optics-th >=0.4.1 && <0.5
, QuickCheck >=2.15.0 && <2.16
, scientific >=0.3.8 && <0.4
, template-haskell >=2.18.0 && <2.22
, text >=1.2.5 && <2.2
, time >=1.11.1 && <1.13
, transformers >=0.5.6 && <0.7
, unordered-containers >=0.2.20 && <0.3
, uuid-types >=1.0.6 && <1.1
, vector >=0.13.1 && <0.14
default-language: Haskell2010
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends:
aeson
, base
, base-compat-batteries
, bytestring
, containers
, hashable
, hspec >=2.5.5 && <2.12
, HUnit >=1.6.0.0 && <1.7
, insert-ordered-containers
, lens
, mtl
, openapi3
, QuickCheck
, quickcheck-instances >=0.3.19 && <0.14
, template-haskell
, text
, time
, unordered-containers
, utf8-string >=1.0.1.1 && <1.1
, vector
-- https://github.com/haskell/cabal/issues/3708
build-tool-depends: hspec-discover:hspec-discover >=2.5.5 && <2.12
other-modules:
Data.OpenApi.CommonTestTypes
Data.OpenApi.ParamSchemaSpec
Data.OpenApi.Schema.GeneratorSpec
Data.OpenApi.Schema.ValidationSpec
Data.OpenApi.SchemaSpec
Data.OpenApiSpec
SpecCommon
default-language: Haskell2010
test-suite doctests
-- See QuickCheck note in https://github.com/phadej/cabal-doctest#notes
build-depends:
base
, doctest
, Glob
, QuickCheck
default-language: Haskell2010
hs-source-dirs: test
main-is: doctests.hs
type: exitcode-stdio-1.0
build-depends:
base
, openapi3
executable example
hs-source-dirs: examples
main-is: hackage.hs
default-language: Haskell2010
build-depends:
aeson
, base
, lens
, openapi3
, text
source-repository head
type: git
location: https://github.com/biocad/openapi3.git