packages feed

webgear-openapi-1.0.5: webgear-openapi.cabal

cabal-version:       2.4

name:                webgear-openapi
version:             1.0.5
synopsis:            Composable, type-safe library to build HTTP API servers
description:
    WebGear is a library to for building composable, type-safe HTTP API servers.
    This package can be used to generate OpenAPI specifications from WebGear
    applications.
homepage:            https://github.com/haskell-webgear/webgear#readme
bug-reports:         https://github.com/haskell-webgear/webgear/issues
author:              Raghu Kaippully
maintainer:          rkaippully@gmail.com
copyright:           2020 Raghu Kaippully
license:             MPL-2.0
license-file:        LICENSE
category:            Web
build-type:          Simple
extra-source-files:  README.md
                     CHANGELOG.md


source-repository head
  type:      git
  location:  https://github.com/haskell-webgear/webgear


library
  exposed-modules:    WebGear.OpenApi
                    , WebGear.OpenApi.Handler
                    , WebGear.OpenApi.Traits
                    , WebGear.OpenApi.Trait.Auth.Basic
                    , WebGear.OpenApi.Trait.Auth.JWT
                    , WebGear.OpenApi.Trait.Body
                    , WebGear.OpenApi.Trait.Header
                    , WebGear.OpenApi.Trait.Method
                    , WebGear.OpenApi.Trait.Path
                    , WebGear.OpenApi.Trait.QueryParam
                    , WebGear.OpenApi.Trait.Status
  hs-source-dirs:     src
  default-language:   Haskell2010
  default-extensions: Arrows
                      ConstraintKinds
                      DataKinds
                      DeriveFunctor
                      DeriveGeneric
                      DerivingStrategies
                      DerivingVia
                      FlexibleContexts
                      FlexibleInstances
                      FunctionalDependencies
                      GeneralizedNewtypeDeriving
                      InstanceSigs
                      KindSignatures
                      LambdaCase
                      MultiParamTypeClasses
                      NamedFieldPuns
                      OverloadedStrings
                      OverloadedLists
                      PolyKinds
                      RankNTypes
                      RecordWildCards
                      ScopedTypeVariables
                      StandaloneDeriving
                      TemplateHaskellQuotes
                      TypeApplications
                      TypeFamilies
                      TypeOperators
  build-depends:      arrows ==0.4.*
                    , base >=4.13.0.0 && <4.19
                    , http-media ==0.8.*
                    , http-types ==0.12.*
                    , insert-ordered-containers ==0.2.*
                    , lens >=4.18.1 && <5.3
                    , openapi3 >=3.1.0 && <3.3
                    , text >=1.2.0.0 && <2.1
                    , webgear-core ==1.0.5
  ghc-options:        -Wall
                      -Wno-unticked-promoted-constructors
                      -Wcompat
                      -Widentities
                      -Wincomplete-record-updates
                      -Wincomplete-uni-patterns
                      -Wmissing-fields
                      -Wmissing-home-modules
                      -Wmissing-deriving-strategies
                      -Wpartial-fields
                      -Wredundant-constraints
                      -fshow-warning-groups

  if impl(ghc >= 8.10)
    ghc-options:      -Wunused-packages