packages feed

json-spec-elm-servant

Generated elm code for servant APIs.

view on Hackage

Generate Elm encoders, decoders, and API requests for an Servant API, where the shape of the data going over the API is described using `json-spec`. See the `/test/test.hs` and `/test/Api.hs` for an example.
versionuploadeduploaderchanges
2.0.0.02026-09-16 14:32 UTCrickowens+185/−130 lines, 4 filesdep ~aesondep ~json-specdep ~json-spec-elmPVP ok
0.6.0.02026-07-23 05:11 UTCrickowens+17/−23 lines, 4 filesdep ~json-specdep ~json-spec-elmPVP ok
0.5.1.02026-06-26 00:48 UTCrickowens+22/−18 lines, 3 filesdep ~containersdep ~timePVP: major bump suggested
0.5.0.02026-03-10 02:40 UTCrickowens+15/−5 lines, 3 filesdep ~basePVP ok
0.4.4.42026-02-09 19:05 UTCrickowens+16/−17 lines, 3 filesdep ~basedep ~json-specdep ~json-spec-elmPVP ok
0.4.4.32026-02-05 15:46 UTCrickowens+4/−4 lines, 2 filesdep ~json-specPVP ok
0.4.4.12025-04-10 02:35 UTCrickowens+4/−4 lines, 1 filesdep ~basedep ~timePVP ok
0.4.4.02025-02-17 18:33 UTCrickowens+25/−8 lines, 2 filesPVP ok
0.4.3.02025-01-12 02:46 UTCrickowens+150/−3 lines, 2 filesPVP ok
0.4.2.22024-09-27 01:39 UTCrickowens+2/−2 lines, 1 filesdep ~json-specPVP ok
0.4.2.12024-09-10 01:48 UTCrickowens+2/−2 lines, 1 filesdep ~filepathPVP ok
0.4.2.02024-09-09 01:44 UTCrickowens+20/−3 lines, 3 filesPVP ok
0.4.1.22024-09-05 02:27 UTCrickowens+61/−192 lines, 3 filesdep ~json-specPVP ok
0.4.1.12024-08-12 23:55 UTCrickowens+5/−6 lines, 1 filesdep ~basedep ~containersdep ~cookiePVP: major bump suggested
0.4.1.02024-06-05 05:03 UTCrickowens+175/−20 lines, 2 filesdep +filepathPVP ok
0.4.0.22024-05-24 23:28 UTCrickowens+7/−7 lines, 2 filesdep ~json-specPVP ok
0.4.0.12024-04-06 18:16 UTCrickowens+36/−80 lines, 3 filesPVP ok
0.4.0.02024-03-04 03:02 UTCrickowens+62/−52 lines, 2 filesdep ~json-specdep ~json-spec-elmPVP ok
0.3.2.12024-02-01 15:53 UTCrickowens+22/−22 lines, 1 filesPVP ok
0.3.2.02024-01-09 01:44 UTCrickowens+25/−16 lines, 3 filesdep ~aesondep ~basedep ~bytestringPVP: major bump suggested
0.3.1.22023-12-04 03:05 UTCrickowens+4/−4 lines, 1 filesdep ~basedep ~mtldep ~textPVP ok
0.3.1.12023-09-09 02:09 UTCrickowens+2/−2 lines, 2 filesPVP ok
0.3.1.02023-09-09 01:56 UTCrickowens+102/−10 lines, 3 filesPVP ok
0.3.0.02023-09-07 02:09 UTCrickowens+37/−20 lines, 2 filesdep ~json-spec-elmPVP ok
0.2.0.02023-09-04 21:27 UTCrickowens+2/−2 lines, 1 filesdep ~json-spec-elmPVP ok
0.1.0.02023-09-02 19:25 UTCrickowens+1240/−0 lines, 6 filesdep +aesondep +basedep +binary

Dependencies of json-spec-elm-servant-2.0.0.0

aeson >=2.2.1.0 && <2.4 2.3.2.0 → 2.3.3.0
2026-11-23 21:23 UTC2.3.3.0+124/−38 lines, 10 filesPVP ok
2026-09-12 18:04 UTC2.3.2.0+97/−60 lines, 13 filesPVP ok
2026-07-05 10:37 UTC2.3.1.0+101/−42 lines, 17 filesdep ~text-iso8601PVP ok
2026-05-21 08:35 UTC2.3.0.0+54/−41 lines, 17 filesdep ~nothunksdep ~text-iso8601new-uploaderPVP ok
2026-08-29 13:20 UTC2.2.5.1+36/−24 lines, 4 filesnew-uploaderPVP ok

showing 5 of 106 versions

base >=4.19.2.0 && <4.23 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

binary >=0.8.9.1 && <0.9 0.8.9.3 → 0.10.0.0 newer than bounds
2018-08-02 10:08 UTC0.10.0.0 newer than bounds+504/−101 lines, 10 filesdep +generic-derivingdep −tardep ~Cabaldep ~QuickCheckPVP ok
2017-03-13 22:00 UTC0.9.0.0 newer than bounds+245/−690 lines, 15 filesdep +tardep −base-orphansdep −binarydep −generic-derivingdep ~Cabaldep ~QuickCheckdep ~basePVP ok
2025-01-28 16:34 UTC0.8.9.3+8/−3 lines, 3 filesPVP ok
2024-04-12 15:16 UTC0.8.9.2+23/−9 lines, 5 filesPVP: major bump suggested
2022-08-04 23:02 UTC0.8.9.1+13/−12 lines, 3 filesPVP ok

showing 5 of 50 versions

bound >=2.0.7 && <2.1 2.0.6 → 2.0.7
2023-08-06 16:14 UTC2.0.7+3630/−3618 lines, 23 filesdep ~deepseqdep ~hashabledep ~th-abstractionsetup-changedPVP ok
2023-01-18 23:43 UTC2.0.6 outside bounds+3618/−3604 lines, 23 filesdep ~th-abstractionsetup-changedPVP ok
2022-05-08 00:43 UTC2.0.5 outside bounds+21/−13 lines, 3 filesdep ~transformersPVP ok
2021-11-07 13:38 UTC2.0.4 outside bounds+83/−351 lines, 15 filesdep −functor-classes-compatdep −ghc-primdep ~basedep ~bifunctorsdep ~binaryPVP ok
2021-02-05 12:51 UTC2.0.3 outside bounds+17/−303 lines, 10 filesdep −doctestdep ~deriving-compatdep ~mmorphdep ~vectorsetup-changedPVP ok

showing 5 of 39 versions

bytestring >=0.12.0.2 && <0.13 0.12.1.0 → 0.12.2.0
2024-12-06 21:41 UTC0.12.2.0+538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok
2024-02-16 03:27 UTC0.12.1.0+3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested
2023-08-16 01:53 UTC0.12.0.2+16/−2 lines, 3 files
2023-08-05 00:03 UTC0.12.0.1 outside bounds+47/−9 lines, 3 files
2023-07-07 01:45 UTC0.12.0.0 outside bounds+1459/−520 lines, 21 filesdep +data-array-bytePVP ok

showing 5 of 49 versions

containers >=0.6.8 && <0.9 0.8 → 0.8.1
2026-10-04 06:08 UTC0.8.1+8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested
2025-03-01 13:03 UTC0.8+8447/−7031 lines, 37 filesnew-uploaderPVP ok
2023-09-27 12:15 UTC0.7+76/−33 lines, 3 filesPVP ok
2023-09-28 04:21 UTC0.6.8+644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested
2023-02-01 03:11 UTC0.6.7 outside bounds+783/−229 lines, 20 filesPVP: major bump suggested

showing 5 of 43 versions

cookie >=0.4.6 && <0.6 0.5.0 → 0.5.1
2025-03-31 12:31 UTC0.5.1+56/−33 lines, 6 filessetup-changedPVP: major bump suggested
2024-03-04 08:52 UTC0.5.0+36/−3 lines, 4 filesPVP ok
2023-01-04 11:24 UTC0.4.6+24/−3 lines, 3 filesPVP ok
2019-11-10 15:02 UTC0.4.5 outside bounds+18/−3 lines, 4 filesPVP ok
2018-03-11 06:08 UTC0.4.4 outside bounds+57/−55 lines, 4 filesdep −blaze-builderdep −old-localedep ~bytestringdep ~textdep ~timePVP ok

showing 5 of 24 versions

directory >=1.3.8.1 && <1.4 1.3.10.1 → 1.3.11.0
2026-05-27 05:59 UTC1.3.11.0+4560/−4504 lines, 25 filesdep ~file-iodep ~filepathdep ~os-stringPVP ok
2026-01-05 11:08 UTC1.3.10.1+4989/−4830 lines, 43 filesPVP: major bump suggested
2025-12-24 02:55 UTC1.3.10.0+90/−39 lines, 7 filesdep ~Win32dep ~basePVP: major bump suggested
2024-10-11 10:43 UTC1.3.9.0+235/−158 lines, 14 filesdep +file-iodep ~basedep ~timePVP: major bump suggested
2024-05-20 06:52 UTC1.3.8.5+15/−13 lines, 7 filesdep ~basePVP ok

showing 5 of 55 versions

elm-syntax >=0.3.3.0 && <0.4 0.3.2.0 → 0.3.3.0
2023-12-02 00:57 UTC0.3.3.0+23/−20 lines, 5 filesdep ~prettyprinternew-uploaderPVP ok
2021-10-27 07:53 UTC0.3.2.0 outside bounds+44/−3 lines, 3 filesnew-uploaderPVP ok
2021-06-30 21:08 UTC0.3.1.0 outside bounds+30/−7 lines, 5 filesdep ~basenew-uploaderPVP ok
2020-03-20 10:24 UTC0.3.0.0 outside bounds+224/−93 lines, 10 filesdep +hashabledep −protoludedep ~deriving-compatPVP ok
2020-01-20 08:58 UTC0.2.0.0 outside bounds+553/−17 lines, 6 filesPVP ok

showing 5 of 6 versions

filepath >=1.4.200.1 && <1.6 1.5.4.0 → 1.5.5.0
2026-01-20 08:14 UTC1.5.5.0+68/−12 lines, 8 filesdep +QuickCheckdep +template-haskell-liftdep +template-haskell-quasiquoterPVP ok
2024-11-17 13:06 UTC1.5.4.0+26/−6 lines, 3 filesdep ~basePVP ok
2024-06-29 15:30 UTC1.5.3.0+876/−871 lines, 13 filesdep −QuickCheckdep ~basePVP: major bump suggested
2024-01-26 07:02 UTC1.5.2.0+330/−256 lines, 11 filesdep +generic-derivingdep +generic-randomdep +tastydep ~basedep ~os-stringPVP ok
2023-11-25 08:29 UTC1.5.0.0+53/−3744 lines, 35 filesdep +os-stringdep ~basePVP ok

showing 5 of 35 versions

hspec >=2.11.1 && <2.12 2.11.17 → 2.11.18
2026-10-01 14:14 UTC2.11.18+7/−4 lines, 3 filesdep ~hspec-coredep ~hspec-discoverPVP ok
2026-03-04 18:01 UTC2.11.17+11/−19 lines, 6 filesdep ~hspec-coredep ~hspec-discoverPVP ok
2025-12-12 14:07 UTC2.11.16+25/−7 lines, 5 filesdep ~hspec-coredep ~hspec-discoverPVP: major bump suggested
2025-12-08 03:04 UTC2.11.15+8/−5 lines, 3 filesdep ~hspec-coredep ~hspec-discoverPVP ok
2025-09-30 14:32 UTC2.11.14+9/−7 lines, 4 filesdep ~hspec-coredep ~hspec-discoverPVP: major bump suggested

showing 5 of 171 versions

http-types >=0.12.3 && <0.13 0.12.5 → 0.12.6
2026-08-13 12:48 UTC0.12.6+21/−14 lines, 3 filesdep −arrayPVP ok
2026-05-31 21:06 UTC0.12.5+843/−207 lines, 20 filesdep +filepathdep +hspec-goldendep ~arraydep ~basedep ~bytestringPVP: major bump suggested
2023-11-30 02:34 UTC0.12.4+1704/−748 lines, 10 filesnew-uploaderPVP: major bump suggested
2019-02-24 11:33 UTC0.12.3+7/−6 lines, 3 filesPVP: major bump suggested
2018-09-26 20:04 UTC0.12.2 outside bounds+37/−19 lines, 4 filesPVP ok

showing 5 of 48 versions

json-spec >=2.0.0.0 && <2.1 1.4.0.1 → 2.0.0.0
2026-09-16 12:47 UTC2.0.0.0+2531/−912 lines, 19 filesdep +megaparsecdep +template-haskellPVP ok
2026-09-09 10:22 UTC1.4.0.1 outside bounds+9/−16 lines, 8 filesdep ~aesonPVP ok
2026-07-23 03:55 UTC1.4.0.0 outside bounds+236/−10 lines, 8 filesPVP ok
2026-06-25 23:00 UTC1.3.0.2 outside bounds+8/−3 lines, 2 filesdep ~containersdep ~timePVP ok
2026-03-08 17:15 UTC1.3.0.1 outside bounds+5/−3 lines, 2 filesdep ~basePVP ok

showing 5 of 27 versions

json-spec-elm >=2.0.0.0 && <2.1 0.6.0.0 → 2.0.0.0
2026-09-16 13:23 UTC2.0.0.0+33/−20 lines, 3 filesdep ~json-specPVP ok
2026-07-23 04:32 UTC0.6.0.0 outside bounds+36/−15 lines, 3 filesdep ~json-specPVP ok
2026-06-25 23:39 UTC0.5.0.3 outside bounds+6/−2 lines, 2 filesdep ~containersPVP ok
2026-03-10 02:23 UTC0.5.0.2 outside bounds+9/−3 lines, 2 filesdep ~basePVP ok
2026-02-09 16:40 UTC0.5.0.1 outside bounds+44/−56 lines, 3 filesdep ~basedep ~containersdep ~elm-syntaxPVP ok

showing 5 of 20 versions

mtl >=2.3.1 && <2.4 2.3.1 → 2.3.2
2025-12-08 04:58 UTC2.3.2+112/−21 lines, 12 filesdep ~basenew-uploaderPVP: major bump suggested
2022-10-31 21:28 UTC2.3.1+188/−33 lines, 8 filesdep ~basePVP: major bump suggested
2022-05-07 20:34 UTC2.3 outside bounds+1284/−520 lines, 29 filesdep ~basedep ~transformersnew-uploaderPVP ok
2018-02-24 22:15 UTC2.2.2 outside bounds+152/−36 lines, 14 filesdep ~basePVP: major bump suggested
2014-06-02 02:22 UTC2.2.1 outside bounds+179/−4 lines, 8 filesdep ~basedep ~transformersPVP: major bump suggested

showing 5 of 20 versions

prettyprinter >=1.7.1 && <1.8 1.7.1 → 1.7.2
2026-04-28 13:43 UTC1.7.2+240/−167 lines, 17 filesdep +tasty-benchdep −faildep −gaugedep −transformersdep ~QuickCheckdep ~basedep ~base-compatPVP: major bump suggested
2021-09-11 09:06 UTC1.7.1+197/−164 lines, 31 filesdep ~bytestringPVP ok
2020-07-31 13:28 UTC1.7.0 outside bounds+4220/−3960 lines, 32 filesdep ~semigroupsPVP ok
2020-06-20 22:40 UTC1.6.2 outside bounds+176/−87 lines, 6 filesPVP ok
2020-02-10 18:33 UTC1.6.1 outside bounds+373/−145 lines, 13 filesPVP: major bump suggested

showing 5 of 20 versions

process >=1.6.18.0 && <1.7 1.6.29.0 → 1.6.30.0
2026-06-11 10:14 UTC1.6.30.0+19/−1 lines, 2 filesPVP ok
2026-05-24 11:03 UTC1.6.29.0+5282/−4831 lines, 7 filesdep ~basePVP ok
2026-04-18 12:18 UTC1.6.28.0+70/−33 lines, 3 filesPVP ok
2026-03-08 19:39 UTC1.6.27.0+3/−2 lines, 2 filesPVP ok
2026-03-07 13:46 UTC1.6.26.2+4852/−5346 lines, 7 filesPVP ok

showing 5 of 57 versions

servant >=0.20.1 && <0.21 0.20.2 → 0.20.3.0
2025-06-04 10:14 UTC0.20.3.0+818/−12 lines, 14 filesdep +generics-sopdep ~QuickCheckdep ~aesondep ~basenew-uploaderPVP: major bump suggested
2024-08-30 02:25 UTC0.20.2+501/−281 lines, 32 filesdep +containersdep −base-compatdep −string-conversionsdep −taggeddep ~basedep ~transformersnew-uploaderPVP: major bump suggested
2023-10-02 07:39 UTC0.20.1+21/−37 lines, 4 filesdep ~QuickCheckdep ~aesondep ~basePVP ok
2023-06-25 10:01 UTC0.20 outside bounds+156/−49 lines, 15 filesdep ~basedep ~bifunctorsdep ~hspecPVP ok
2022-10-27 22:28 UTC0.19.1 outside bounds+49/−18 lines, 7 filesdep ~basedep ~base-compatdep ~http-api-dataPVP: major bump suggested

showing 5 of 51 versions

text >=2.1.1 && <2.2 2.1.4 → 2.1.5
2026-11-27 23:30 UTC2.1.5+33786/−32979 lines, 58 filesPVP: major bump suggested
2026-01-28 08:30 UTC2.1.4+30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok
2025-08-01 20:08 UTC2.1.3+2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok
2024-10-26 13:22 UTC2.1.2+43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested
2024-02-16 22:16 UTC2.1.1+986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested

showing 5 of 83 versions

time >=1.12.2 && <1.16 1.15 → 1.16.0.1 newer than bounds
2026-07-20 21:55 UTC1.16.0.1 newer than bounds+1203/−148 lines, 25 filesPVP ok
2026-05-03 08:43 UTC1.16 newer than bounds+353/−64 lines, 29 filesdep +template-haskell-liftdep ~template-haskellPVP ok
2025-08-04 16:22 UTC1.15+1407/−743 lines, 56 filesdep ~basedep ~deepseqdep ~template-haskellPVP ok
2024-03-10 22:18 UTC1.14+6594/−5536 lines, 73 filesdep +template-haskelldep ~basePVP ok
2021-10-18 05:36 UTC1.13+1279/−1589 lines, 59 filesdep ~basePVP ok

showing 5 of 48 versions

unordered-containers >=0.2.19.1 && <0.3 0.2.21 → 0.2.21.1
2026-11-30 10:13 UTC0.2.21.1+533/−177 lines, 9 filesPVP: major bump suggested
2025-12-13 23:09 UTC0.2.21+3999/−2731 lines, 20 filesdep −mtldep ~basedep ~bytestringdep ~deepseqPVP: major bump suggested
2025-10-02 07:28 UTC0.2.20.1+106/−52 lines, 12 filesPVP: major bump suggested
2024-01-09 06:48 UTC0.2.20+1023/−941 lines, 12 filesdep ~hashabledep ~template-haskellPVP: major bump suggested
2022-04-24 15:48 UTC0.2.19.1+88/−14 lines, 4 filesdep ~basedep ~template-haskellPVP: major bump suggested

showing 5 of 44 versions

uuid >=1.3.15 && <1.4 1.3.16 → 1.3.16.1
2026-04-15 16:27 UTC1.3.16.1+9/−9 lines, 1 filesdep −textdep ~randomdep ~timePVP: major bump suggested
2024-07-03 09:39 UTC1.3.16+28/−26 lines, 5 filesdep ~QuickCheckdep ~basedep ~binaryPVP: major bump suggested
2021-05-03 07:42 UTC1.3.15+6/−2 lines, 2 filesdep ~bytestringdep ~tastydep ~textPVP ok
2021-02-17 09:38 UTC1.3.14 outside bounds+554/−573 lines, 20 filesdep −HUnitdep −criteriondep −mersenne-random-pure64dep ~QuickCheckdep ~basedep ~binarynew-uploaderPVP: major bump suggested
2016-12-17 19:30 UTC1.3.13 outside bounds+235/−225 lines, 8 filesdep +cryptohash-md5dep +cryptohash-sha1dep +entropydep −cryptonitedep −memorydep ~QuickCheckdep ~basedep ~bytestringPVP ok

showing 5 of 40 versions

Reverse dependencies

no known reverse dependencies