Alex Mason
6462804f52
Merge branch 'master' of https://github.com/haskell-servant/servant into servant-dates
...
# Conflicts:
# servant-server/servant-server.cabal
# servant-server/src/Servant/Server/Internal.hs
# servant-server/test/Servant/ServerSpec.hs
# servant/servant.cabal
# servant/src/Servant/API.hs
2016-09-02 12:53:04 +10:00
Julian K. Arni
ec55f4b981
Remove Matrix params.
...
For servant-docs, -foreign, -js, and -mock.
2015-10-13 21:37:07 +02:00
Nickolay Kudasov
0082d2bd2f
Remove redundant second argument of ToSample class
2015-09-24 14:00:39 +03:00
Nickolay Kudasov
42f5795fcc
Add DocOptions with maxSamples field
...
With DocOptions one can limit maximum number of samples.
This is useful for Generic-based instances for recursive data types
(e.g. `[]`). Default options set maxSamples to 5.
2015-09-21 13:36:57 +03:00
Nickolay Kudasov
98af812491
Move toSample method out of ToSample class
...
toSample method conflicted with default Generics implementation.
2015-09-19 02:27:51 +03:00
Nickolay Kudasov
c769800adb
Add ToSample instances for (), Bool and Ordering
...
Also remove `instance ToSample ()` from example.
2015-09-19 01:22:28 +03:00
Brandon Martin
95abfc4090
fix ToSample instance and update changelogs
2015-05-07 05:22:01 -06:00
Brandon Martin
10a6020ca2
modify delete to allow for response body
2015-05-06 13:21:35 -06:00
Julian K. Arni
84211d4a0f
Fix ToSample issues
2015-05-03 01:50:30 +02:00
Julian K. Arni
5531ada22b
Headers for all
2015-05-02 02:21:03 +01:00
Julian K. Arni
88f1a3fc15
prepare merge
2015-04-20 11:19:48 +02:00