packages feed

autodocodec-swagger2 0.1.0.1 → 0.1.0.2

raw patch · API changes only · 4 files changed · hide whitespace changes · browse autodocodec-swagger2-0.1.0.2

+19/−1 lines, 4 filessetup-changed

API changes (from Hackage documentation)

No API comparison: Hackage has no documentation for autodocodec-swagger2-0.1.0.1.

Files

CHANGELOG.md view
@@ -1,5 +1,11 @@ # Changelog +## [0.1.0.2] - 2026-12-04++### Changed++* Compatibility with swagger2 >=2.9.+ ## [0.1.0.1] - 2026-07-14  ### Changed
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
autodocodec-swagger2.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           autodocodec-swagger2-version:        0.1.0.1+version:        0.1.0.2 synopsis:       Autodocodec interpreters for swagger2 homepage:       https://github.com/NorfairKing/autodocodec#readme bug-reports:    https://github.com/NorfairKing/autodocodec/issues@@ -32,6 +32,7 @@       Paths_autodocodec_swagger2   hs-source-dirs:       src+  ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wpartial-fields -Widentities -Wredundant-constraints -Wcpp-undef   build-depends:       aeson     , autodocodec >=0.6.0.0
src/Autodocodec/Swagger/Schema.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE DataKinds #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE LambdaCase #-}@@ -12,7 +13,15 @@ import Control.Monad import Data.Foldable (toList) import qualified Data.HashMap.Strict as HashMap++-- Since version 2.9, swagger2 wraps the insert-ordered-containers map in a+-- newtype of its own, to keep its JSON encoding across+-- insert-ordered-containers 0.3.+#if MIN_VERSION_swagger2(2,9,0)+import qualified Data.HashMap.Strict.InsOrd.Compat as InsOrdHashMap+#else import qualified Data.HashMap.Strict.InsOrd as InsOrdHashMap+#endif import Data.List import Data.Proxy import Data.Scientific