packages feed

servant-openapi3 2.0.1.2 → 2.0.1.3

raw patch · 4 files changed

+21/−19 lines, 4 filesdep ~aesondep ~lensdep ~openapi3

Dependency ranges changed: aeson, lens, openapi3, servant

Files

example/example.cabal view
@@ -18,6 +18,7 @@    || ==8.6.5    || ==8.8.4    || ==8.10.4+   || ==9.0.1  library   ghc-options:      -Wall@@ -55,7 +56,7 @@   other-modules:     TodoSpec     Paths_example-  build-tool-depends: hspec-discover:hspec-discover >=2.6.0 && <2.8+  build-tool-depends: hspec-discover:hspec-discover >=2.6.0 && <2.10   build-depends:    base  == 4.*                   , base-compat >= 0.6.0                   , aeson >=0.11.2.0
servant-openapi3.cabal view
@@ -1,10 +1,10 @@ name:                servant-openapi3-version:             2.0.1.2+version:             2.0.1.3 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    project is the [OpenAPI Specification (OAS)](https://swagger.io/docs/specification/about/). -  This library implements v2.0 of the spec. Unlike Servant it is language-agnostic and thus is +  This library implements v3.0 of the spec. Unlike Servant it is language-agnostic and thus is    quite popular among developers in different languages. It has also existed for a longer time    and has more helpful tooling.   .@@ -33,6 +33,7 @@    || ==8.6.5    || ==8.8.4    || ==8.10.4+   || ==9.0.1  extra-source-files:     README.md@@ -53,8 +54,8 @@  custom-setup   setup-depends:-    base >=4.9 && <4.15,-    Cabal >= 1.24 && <3.3,+    base >=4.9 && <4.16,+    Cabal >= 1.24 && <3.5,     cabal-doctest >=1.0.6 && <1.1  library@@ -73,9 +74,9 @@     Servant.OpenApi.Internal.TypeLevel.Every     Servant.OpenApi.Internal.TypeLevel.TMap   hs-source-dirs:      src-  build-depends:       aeson                     >=1.4.2.0 && <1.6+  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.15+                     , base                      >=4.9.1.0  && <4.16                      , base-compat               >=0.10.5   && <0.12                      , bytestring                >=0.10.8.1 && <0.11                      , http-media                >=0.7.1.3  && <0.9@@ -83,7 +84,7 @@                      , lens                      >=4.17     && <5.1                      , servant                   >=0.17     && <0.19                      , singleton-bool            >=0.1.4    && <0.2-                     , openapi3                  >=3.0.0    && <3.2+                     , openapi3                  >=3.0.0    && <3.3                      , text                      >=1.2.3.0  && <1.3                      , unordered-containers      >=0.2.9.0  && <0.3 @@ -96,7 +97,7 @@   build-depends:     base,     directory >= 1.0,-    doctest >= 0.11.1 && <0.18,+    doctest >= 0.11.1 && <0.20,     servant,     QuickCheck,     filepath@@ -110,11 +111,11 @@   type:             exitcode-stdio-1.0   hs-source-dirs:   test   main-is:          Spec.hs-  build-tool-depends: hspec-discover:hspec-discover >=2.6.0 && <2.8+  build-tool-depends: hspec-discover:hspec-discover >=2.6.0 && <2.10   build-depends:    base                   , base-compat                   , aeson-                  , hspec >=2.6.0 && <2.8+                  , hspec >=2.6.0 && <2.10                   , QuickCheck                   , lens                   , lens-aeson >=1.0.2    && <1.2
src/Servant/OpenApi.hs view
@@ -505,11 +505,11 @@ -- >>> instance Arbitrary UserId where arbitrary = UserId <$> arbitrary -- >>> hspec $ validateEveryToJSON (Proxy :: Proxy UserAPI) -- <BLANKLINE>--- [User]+-- [User]... -- ...--- User+-- User... -- ...--- UserId+-- UserId... -- ... -- Finished in ... seconds -- 3 examples, 0 failures
src/Servant/OpenApi/Internal/Test.hs view
@@ -51,9 +51,9 @@ -- >>> hspec $ context "ToJSON matches ToSchema" $ validateEveryToJSON (Proxy :: Proxy UserAPI) -- <BLANKLINE> -- ToJSON matches ToSchema---   User+--   User... -- ...---   UserId+--   UserId... -- ... -- Finished in ... seconds -- 2 examples, 0 failures@@ -115,11 +115,11 @@ -- :} -- <BLANKLINE> -- read . show == id---   Bool+--   Bool... -- ...---   Int+--   Int... -- ...---   [Char]+--   [Char]... -- ... -- Finished in ... seconds -- 3 examples, 0 failures