Dan Fithian
47bd25266f
Servant docs curl ( #1401 )
...
servant-dosc: generate sample curl request
2021-08-19 13:11:00 +02:00
Oleg Grenrus
f9bcc15d0b
Apply stylish-haskell on all modules
2018-06-29 23:36:39 +03:00
Arian van Putten
05379ed7e3
Replace all occurances of () with NoContent
...
We use NoContent to signify an empty response nowadays. This commit
replaces all occurences of () with NoContent so that all packages use
the new semantics.
2016-07-10 16:58:59 +02: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