2022-01-04 22:06:23 +01:00
|
|
|
cabal-version: 2.2
|
2021-10-26 16:08:30 +02:00
|
|
|
name: servant-auth-swagger
|
|
|
|
version: 0.2.10.1
|
|
|
|
synopsis: servant-swagger/servant-auth compatibility
|
|
|
|
description: This package provides instances that allow generating swagger2 schemas from
|
|
|
|
<https://hackage.haskell.org/package/servant servant>
|
|
|
|
APIs that use
|
|
|
|
<https://hackage.haskell.org/package/servant-auth servant-auth's> @Auth@ combinator.
|
|
|
|
.
|
2022-03-01 09:34:45 +01:00
|
|
|
For a quick overview of the usage, see the <https://github.com/haskell-servant/servant/tree/master/servant-auth#readme README>.
|
2021-10-26 16:08:30 +02:00
|
|
|
category: Web, Servant, Authentication
|
2022-03-01 09:34:45 +01:00
|
|
|
homepage: https://github.com/haskell-servant/servant/tree/master/servant-auth#readme
|
2021-10-26 22:29:04 +02:00
|
|
|
bug-reports: https://github.com/haskell-servant/servant/issues
|
2021-10-26 16:08:30 +02:00
|
|
|
author: Julian K. Arni
|
|
|
|
maintainer: jkarni@gmail.com
|
|
|
|
copyright: (c) Julian K. Arni
|
2021-10-31 22:37:56 +01:00
|
|
|
license: BSD-3-Clause
|
2021-10-26 16:08:30 +02:00
|
|
|
license-file: LICENSE
|
2021-10-26 19:00:18 +02:00
|
|
|
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4
|
2021-10-26 16:08:30 +02:00
|
|
|
build-type: Simple
|
|
|
|
extra-source-files:
|
|
|
|
CHANGELOG.md
|
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
2021-10-26 22:29:04 +02:00
|
|
|
location: https://github.com/haskell-servant/servant
|
2021-10-26 16:08:30 +02:00
|
|
|
|
|
|
|
library
|
|
|
|
hs-source-dirs:
|
|
|
|
src
|
|
|
|
default-extensions: ConstraintKinds DataKinds DefaultSignatures DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable FlexibleContexts FlexibleInstances FunctionalDependencies GADTs KindSignatures MultiParamTypeClasses OverloadedStrings RankNTypes ScopedTypeVariables TypeFamilies TypeOperators
|
|
|
|
ghc-options: -Wall
|
|
|
|
build-depends:
|
2022-08-17 12:37:27 +02:00
|
|
|
base >= 4.10 && < 4.18
|
2022-02-06 23:12:25 +01:00
|
|
|
, text >= 1.2.3.0 && < 2.1
|
2021-11-17 13:01:43 +01:00
|
|
|
, servant-swagger >= 1.1.5 && < 2
|
|
|
|
, swagger2 >= 2.2.2 && < 3
|
2022-01-31 15:13:47 +01:00
|
|
|
, servant >= 0.13 && < 0.20
|
2021-10-26 16:08:30 +02:00
|
|
|
, servant-auth == 0.4.*
|
2022-10-02 17:21:43 +02:00
|
|
|
, lens >= 4.16.1 && < 5.3
|
2021-10-26 16:08:30 +02:00
|
|
|
exposed-modules:
|
|
|
|
Servant.Auth.Swagger
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
test-suite spec
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Spec.hs
|
|
|
|
hs-source-dirs:
|
|
|
|
test
|
|
|
|
default-extensions: ConstraintKinds DataKinds DefaultSignatures DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable FlexibleContexts FlexibleInstances FunctionalDependencies GADTs KindSignatures MultiParamTypeClasses OverloadedStrings RankNTypes ScopedTypeVariables TypeFamilies TypeOperators
|
|
|
|
ghc-options: -Wall
|
2022-03-21 15:37:40 +01:00
|
|
|
build-tool-depends: hspec-discover:hspec-discover >= 2.5.5 && <2.10
|
2021-10-26 16:08:30 +02:00
|
|
|
-- dependencies with bounds inherited from the library stanza
|
|
|
|
build-depends:
|
|
|
|
base
|
|
|
|
, text
|
|
|
|
, servant-swagger
|
|
|
|
, swagger2
|
|
|
|
, servant
|
|
|
|
, servant-auth
|
|
|
|
, lens
|
2022-03-01 09:34:45 +01:00
|
|
|
|
2021-10-26 16:08:30 +02:00
|
|
|
-- test dependencies
|
|
|
|
build-depends:
|
|
|
|
servant-auth-swagger
|
2022-03-21 15:37:40 +01:00
|
|
|
, hspec >= 2.5.5 && < 2.10
|
2021-10-26 16:08:30 +02:00
|
|
|
, QuickCheck >= 2.11.3 && < 2.15
|
|
|
|
other-modules:
|
|
|
|
Servant.Auth.SwaggerSpec
|
|
|
|
default-language: Haskell2010
|