servant-openapi3 2.0.1.5 → 2.0.1.6
raw patch · 4 files changed
+12/−9 lines, 4 filesdep ~aesondep ~basedep ~base-compat
Dependency ranges changed: aeson, base, base-compat, bytestring, doctest, hspec, lens, openapi3, servant
Files
- README.md +1/−1
- example/example.cabal +1/−0
- servant-openapi3.cabal +8/−7
- src/Servant/OpenApi/Internal.hs +2/−1
README.md view
@@ -25,7 +25,7 @@ ### Usage -Please refer to [haddock documentation](http://hackage.haskell.org/package/servant-swagger).+Please refer to [haddock documentation](http://hackage.haskell.org/package/servant-openapi3). Some examples can be found in [`example/` directory](/example).
example/example.cabal view
@@ -19,6 +19,7 @@ || ==8.10.7 || ==9.0.2 || ==9.2.2+ || ==9.4.3 library ghc-options: -Wall
servant-openapi3.cabal view
@@ -1,5 +1,5 @@ name: servant-openapi3-version: 2.0.1.5+version: 2.0.1.6 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 @@ -34,6 +34,7 @@ || ==8.10.7 || ==9.0.2 || ==9.2.2+ || ==9.4.3 extra-source-files: README.md@@ -54,8 +55,8 @@ custom-setup setup-depends:- base >=4.9 && <4.17,- Cabal >= 1.24 && <3.7,+ base >=4.9 && <4.18,+ Cabal >= 1.24, cabal-doctest >=1.0.6 && <1.1 library@@ -74,17 +75,17 @@ Servant.OpenApi.Internal.TypeLevel.Every Servant.OpenApi.Internal.TypeLevel.TMap hs-source-dirs: src- build-depends: aeson >=1.4.2.0 && <1.6 || >=2.0.1.0 && <2.1+ build-depends: aeson >=1.4.2.0 && <1.6 || >=2.0.1.0 && <2.2 , aeson-pretty >=0.8.7 && <0.9- , base >=4.9.1.0 && <4.17+ , base >=4.9.1.0 && <4.18 , 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+ , lens >=4.17 && <5.3 , servant >=0.17 && <0.20 , singleton-bool >=0.1.4 && <0.2- , openapi3 >=3.0.0 && <3.3+ , openapi3 >=3.2.3 && <3.3 , text >=1.2.3.0 && <3 , unordered-containers >=0.2.9.0 && <0.3
src/Servant/OpenApi/Internal.hs view
@@ -229,7 +229,8 @@ combineSwagger :: OpenApi -> OpenApi -> OpenApi combineSwagger s t = OpenApi- { _openApiInfo = _openApiInfo s <> _openApiInfo t+ { _openApiOpenapi = _openApiOpenapi s <> _openApiOpenapi t+ , _openApiInfo = _openApiInfo s <> _openApiInfo t , _openApiServers = _openApiServers s <> _openApiServers t , _openApiPaths = InsOrdHashMap.unionWith combinePathItem (_openApiPaths s) (_openApiPaths t) , _openApiComponents = _openApiComponents s <> _openApiComponents t