Alp Mestanogullari
32768e431e
import Control.Lens in the example
2015-03-26 13:14:34 +01:00
Christian Marie
055655618f
Merge remote-tracking branch 'origin/master' into wip-note-api
2015-02-23 10:47:28 +11:00
Christian Marie
53d3f6db80
Rename safeInfo to extraInfo
2015-02-23 09:56:23 +11:00
Thomas Sutton
97ff49c3c4
Replace HTML with PlainText in examples
2015-02-22 19:42:38 +11:00
Thomas Sutton
bdf61e4df9
Sample program more sensible and update README
2015-02-22 17:18:07 +11:00
Thomas Sutton
8087fae18b
amr renamed allMimeRender
2015-02-20 08:03:11 +11:00
Thomas Sutton
3451dcf186
Use string conversions in example
2015-02-19 13:03:38 +11:00
Thomas Sutton
6d85885b42
Add content types to the example
2015-02-19 12:48:23 +11:00
Thomas Sutton
3c14343b88
Add content-type params to type constructors
2015-02-19 10:59:24 +11:00
Christian Marie
b935f28185
Improve documentation.
...
I also slipped a change into the Matrix Paramters section markdown generation,
there is one less (superfluous) newline there now.
2015-02-18 12:49:08 +11:00
Christian Marie
a008e08dd1
Add initial mockup of general extra info API
2015-02-07 15:23:54 +11:00
Christian Marie
dd34ba0d92
Merge remote-tracking branch 'upstream/master' into wip-notes
...
Conflicts:
src/Servant/Docs.hs
2015-01-30 16:02:44 +11:00
Christian Marie
b85a90c4f5
Add docsWithIntros function, update documentation
2015-01-30 15:47:26 +11:00
Christian Marie
aa64d7a0bf
Add DocIntro and DocNote types to allow extra docs
...
This commit provides a way for a user to add information to either the
beginning of the output, and for a HasDoc instance to add extra sections to an
endpoint.
See example/greet.hs for usage of the Intro type.
2015-01-23 14:31:45 +11:00
Daniel Larsson
c4f7735de8
Added support for matrix parameters
2015-01-15 11:04:20 +01:00
Alp Mestanogullari
07472ccb7a
update the example to show off multiple-responses
2015-01-04 16:53:02 +01:00
Julian K. Arni
3898c19afe
Switch to encodePretty in sampleByteString.
2014-12-20 21:58:07 +01:00
Alp Mestanogullari
2d2c46ea12
adapt to the servant/servant-server split
2014-12-10 16:43:43 +01:00
Alp Mestanogullari
2261521002
polish up cabal file, add README and output of the example
2014-12-08 11:25:52 +01:00
Alp Mestanogullari
7fa44d3769
first shot at splitting servant into servant, servant-client and servant-docs
2014-11-27 18:28:01 +01:00