packages feed

servant-openapi3 2.0.1.4 → 2.0.1.5

raw patch · 4 files changed

+16/−14 lines, 4 filesdep ~aesondep ~basedep ~hspecPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: aeson, base, hspec, lens, text

API changes (from Hackage documentation)

Files

example/example.cabal view
@@ -18,6 +18,7 @@    || ==8.8.4    || ==8.10.7    || ==9.0.2+   || ==9.2.2  library   ghc-options:      -Wall
servant-openapi3.cabal view
@@ -1,5 +1,5 @@ name:                servant-openapi3-version:             2.0.1.4+version:             2.0.1.5 synopsis:            Generate a Swagger/OpenAPI/OAS 3.0 specification for your servant API. description:   Swagger is a project used to describe and document RESTful APIs. The core of the @@ -33,6 +33,7 @@    || ==8.8.4    || ==8.10.7    || ==9.0.2+   || ==9.2.2  extra-source-files:     README.md@@ -53,8 +54,8 @@  custom-setup   setup-depends:-    base >=4.9 && <4.16,-    Cabal >= 1.24 && <3.5,+    base >=4.9 && <4.17,+    Cabal >= 1.24 && <3.7,     cabal-doctest >=1.0.6 && <1.1  library@@ -75,16 +76,16 @@   hs-source-dirs:      src   build-depends:       aeson                     >=1.4.2.0  && <1.6 || >=2.0.1.0 && <2.1                      , aeson-pretty              >=0.8.7    && <0.9-                     , base                      >=4.9.1.0  && <4.16-                     , base-compat               >=0.10.5   && <0.12-                     , bytestring                >=0.10.8.1 && <0.11+                     , base                      >=4.9.1.0  && <4.17+                     , base-compat               >=0.10.5   && <0.13+                     , bytestring                >=0.10.8.1 && <0.12                      , http-media                >=0.7.1.3  && <0.9                      , insert-ordered-containers >=0.2.1.0  && <0.3                      , lens                      >=4.17     && <5.2                      , servant                   >=0.17     && <0.20                      , singleton-bool            >=0.1.4    && <0.2                      , openapi3                  >=3.0.0    && <3.3-                     , text                      >=1.2.3.0  && <1.3+                     , text                      >=1.2.3.0  && <3                      , unordered-containers      >=0.2.9.0  && <0.3                       , hspec@@ -96,7 +97,7 @@   build-depends:     base,     directory >= 1.0,-    doctest >= 0.11.1 && <0.20,+    doctest >= 0.11.1 && <0.21,     servant,     QuickCheck,     filepath@@ -110,14 +111,14 @@   type:             exitcode-stdio-1.0   hs-source-dirs:   test   main-is:          Spec.hs-  build-tool-depends: hspec-discover:hspec-discover >=2.6.0 && <2.10+  build-tool-depends: hspec-discover:hspec-discover >=2.6.0 && <2.11   build-depends:    base                   , base-compat                   , aeson-                  , hspec >=2.6.0 && <2.10+                  , hspec >=2.6.0 && <2.11                   , QuickCheck                   , lens-                  , lens-aeson >=1.0.2    && <1.2+                  , lens-aeson >=1.0.2    && <1.3                   , servant                   , servant-openapi3                     -- openapi3 3.1.0 fixes some ordering-related issues, making tests stable
src/Servant/OpenApi.hs view
@@ -512,7 +512,7 @@ -- UserId... -- ... -- Finished in ... seconds--- 3 examples, 0 failures+-- ...3 examples, 0 failures... -- -- Although servant is great, chances are that your API clients don't use Haskell. -- In many cases @swagger.json@ serves as a specification, not a Haskell type.
src/Servant/OpenApi/Internal/Test.hs view
@@ -56,7 +56,7 @@ --   UserId... -- ... -- Finished in ... seconds--- 2 examples, 0 failures+-- ...2 examples, 0 failures... -- -- For the test to compile all body types should have the following instances: --@@ -122,7 +122,7 @@ --   [Char]... -- ... -- Finished in ... seconds--- 3 examples, 0 failures+-- ...3 examples, 0 failures... props :: forall p p'' cs xs. TMap (Every (Typeable ': Show ': Arbitrary ': cs)) xs =>   p cs                                          -- ^ A list of constraints.   -> (forall x. EveryTF cs x => x -> Property)  -- ^ Property predicate.