@@ -47,7 +47,7 @@ import Data.IntMap (IntMap)
4747import Data.Map (Map)
4848import Data.Proxy
4949import Data.Scientific (Scientific)
50−import Data.Fixed (Fixed, HasResolution)
50+import Data.Fixed (Fixed, HasResolution, Pico)
5151import Data.Set (Set)
5252import qualified Data.Text as T
5353import qualified Data.Text.Lazy as TL
@@ -483,7 +483,7 @@ instance ToSchema ZonedTime where
483483 & example ?~ toJSON (ZonedTime (LocalTime (fromGregorian 2016 7 22) (TimeOfDay 7 40 0)) (hoursToTimeZone 3))
484484
485485instance ToSchema NominalDiffTime where
486− declareNamedSchema _ = declareNamedSchema (Proxy :: Proxy Integer)
486+ declareNamedSchema _ = declareNamedSchema (Proxy :: Proxy Pico)
487487
488488-- |
489489-- >>> toSchema (Proxy :: Proxy UTCTime) ^. format