packages feed

openai-servant-gen-0.1.0.0: openai-servant-gen.cabal

cabal-version:       3.0
name:                openai-servant-gen
version:             0.1.0.0
synopsis:            Auto-generated API bindings for openai
description:         This repository provides openai APIs of haskell via openapi-generator. It's just generating. It's intended to provide latest APIs.
homepage:            https://github.com/junjihashimoto/intelli-monad
author:              Junji Hashimoto
maintainer:          junji.hashimoto@gmail.com
copyright:           2023 - Junji Hashimoto
category:            Web
build-type:          Simple
license:             MIT
license-file:        LICENSE
extra-doc-files:     CHANGELOG.md
                     

library
  hs-source-dirs:      lib
  exposed-modules:     OpenAI.API
                     , OpenAI.Types
  ghc-options:         -Wall
  build-depends:       base ==4.*
                     , aeson >= 2.1 && < 2.3
                     , containers >= 0.6.7 && < 0.7
                     , bytestring >= 0.11.5 && < 0.12
                     , mtl >= 2.3.1 && < 2.4
                     , transformers >= 0.6.1 && < 0.7
                     , exceptions >= 0.10.7 && < 0.11
                     , text >= 2.0.2 && < 2.1
                     , network-uri >= 2.6.4 && < 2.7
                     , vector >= 0.13.1 && < 0.14
                     , time >= 1.12.2 && < 1.13
                     , http-api-data >= 0.5 && < 0.7
                     , http-types >= 0.12.4 && < 0.13
                     , http-client >= 0.7.16 && < 0.8
                     , http-client-tls >= 0.3.6 && < 0.4
                     , http-media >= 0.8.1 && < 0.9
                     , servant >= 0.20.1 && < 0.21
                     , servant-client >= 0.20 && < 0.21
                     , servant-client-core >= 0.20 && < 0.21
                     , servant-server >= 0.20 && < 0.21
                     , wai >= 3.2.4 && < 3.3
                     , wai-extra >= 3.1.14 && < 3.2
                     , warp >= 3.3.31 && < 3.4
                     , swagger2 >= 2.8.8 && < 2.9
                     , uuid >= 1.3.15 && < 1.4
  default-language:    Haskell2010

test-suite openai-servant-gen-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , openai-servant-gen
                     , hspec
                     , hspec-wai
                     , http-types
                     , http-client
                     , http-client-tls
                     , wai
                     , warp
                     , aeson
                     , text
                     , containers
                     , exceptions
                     , network-uri
                     , servant
                     , http-api-data
                     , servant
                     , servant-client
                     , servant-client-core
                     , servant-server
                     , servant
                     , wai
                     , warp
                     , transformers
                     , mtl
                     , time
                     , swagger2
                     , uuid
                     , bytestring
                     , wai-extra
  default-language:    Haskell2010