Christian Marie
3a4471f211
Remove Monoid instance of Link and simplify Utils.Links documentation
2015-01-29 15:03:33 +11:00
Christian Marie
c1ab495a7a
Utils.Link documentation cleanup
2015-01-29 11:28:01 +11:00
Christian Marie
12d0d0a6e7
Documentation improvements and minor cleanup
2015-01-29 10:39:02 +11:00
Christian Marie
70ffe01f9a
Rewrite Utils.Links to export a nicer API.
...
* Add support for parameters.
* Clean up type level magic, invalid links no longer have a type.
* Proxies are now used to be consistent with the rest of the servant ecosystem.
2015-01-29 10:07:01 +11:00
Christian Marie
6785717d8c
Add constrainty Link implementation.
2015-01-27 16:06:21 +11:00
Christian Marie
7336ecbaeb
Export open type family IsElem' to allow custom API types in Links.
...
Also:
* Export unLink function to be able to use the contents of a Link
* Add Raw to the isLink'' family.
2015-01-23 17:44:06 +11:00
Daniel Larsson
fcf5402861
Rebased to latest upstream
2015-01-15 10:44:45 +01:00
Daniel Larsson
0b2f2ae490
Added test cases for matrix parameters. Added some missing cases in the IsElem type family (QueryParams and QueryFlag)
2015-01-15 10:40:57 +01:00
Daniel Larsson
839f5a79a9
Added support for matrix parameters
2015-01-15 10:38:59 +01:00
Matthias Fischmann
40b13a9c86
Explicit imports in /src.
2015-01-06 17:54:53 +01:00
Matthias Fischmann
9b10181d9a
Remove unused imports.
2015-01-06 17:51:07 +01:00
Sean Leather
4a89f5d6c7
Fix typo
2014-12-12 21:04:03 +02:00
Alp Mestanogullari
9aeb295955
make ReqBody kind polymorphic (for a test)
2014-12-10 16:31:40 +01:00
Alp Mestanogullari
6836eb6bcc
add split server-side bits into servant-server
2014-12-10 16:31:40 +01:00
Julian K. Arni
f4f86520bc
Clean up QQ and Utils.Links haddock.
2014-12-10 10:34:49 +01:00
Alp Mestanogullari
501dafaeba
add Servant.API.Header
2014-12-08 12:28:11 +01:00
Alp Mestanogullari
0dfd2434ac
fix build error for servant's spec
2014-11-27 18:50:29 +01:00
Alp Mestanogullari
67abcff47f
first shot at splitting servant into servant, servant-client and servant-docs
2014-11-27 18:28:01 +01:00
Alp Mestanogullari
52c24c8b35
Merge branch 'jkarni/qq-docs' into new-impl
2014-11-25 17:39:30 +01:00
Julian K. Arni
dee47654f9
Rename ApiQuasiQuoting.
...
And fix haddocks for it.
2014-11-25 16:35:56 +01:00
Julian K. Arni
63584d52b7
QQ and safe links documentation.
2014-11-25 16:10:59 +01:00
Alp Mestanogullari
5435dd4032
Haddocks for the StaticFiles module
2014-11-25 15:48:30 +01:00
Alp Mestanogullari
5b5f530406
fix Docs haddocks
2014-11-24 16:22:55 +01:00
Alp Mestanogullari
60c7addb5e
more haddocks
2014-11-22 19:19:21 +01:00
Alp Mestanogullari
f983734975
haddocks for BaseUrl
2014-11-22 18:59:44 +01:00
Alp Mestanogullari
77d52083f1
haddocks for all 3 forms of query params (phew)
2014-11-22 18:53:02 +01:00
Alp Mestanogullari
c47f4ae002
haddocks for ReqBody
2014-11-22 18:16:55 +01:00
Alp Mestanogullari
e9f2de1162
add an example for Raw using serveDirectory
2014-11-22 18:06:59 +01:00
Alp Mestanogullari
1f3ec7ceaa
haddocks for Raw
2014-11-22 18:04:19 +01:00
Alp Mestanogullari
92ddcf4380
haddocks for :>
2014-11-22 17:56:45 +01:00
Alp Mestanogullari
15adc964e4
add examples for Put and Post
2014-11-22 17:56:35 +01:00
Alp Mestanogullari
44974baf79
haddocks for Put
2014-11-22 17:47:34 +01:00
Alp Mestanogullari
95d34587a3
haddocks for Post
2014-11-22 17:45:59 +01:00
Alp Mestanogullari
1dd253d2a0
haddocks for Get
2014-11-22 17:41:35 +01:00
Alp Mestanogullari
54ba4596f6
haddocks tweak
2014-11-22 17:29:52 +01:00
Alp Mestanogullari
c0b7c65de2
haddocks tweak
2014-11-22 17:29:22 +01:00
Alp Mestanogullari
e7a0d70780
Haddocks for Delete
2014-11-22 17:27:41 +01:00
Alp Mestanogullari
c945915f1d
fix haddocks
2014-11-22 15:58:52 +01:00
Alp Mestanogullari
e9ebb0f10b
More haddocks for Capture
2014-11-22 15:55:50 +01:00
Alp Mestanogullari
407349c245
More haddocks for :<|>
2014-11-22 15:08:25 +01:00
Alp Mestanogullari
d461726b9a
-Wall police
2014-11-22 14:35:03 +01:00
Alp Mestanogullari
f36e488f9e
Merge pull request #36 from alpmestan/some_refactorings
...
Client instance for Raw, API documentation serving, some refactoring.
2014-11-14 13:17:31 +01:00
Sönke Hahn
102c752268
removed Servant.Docs.printMarkdown
2014-11-14 19:54:38 +08:00
Alp Mestanogullari
e7b72561ee
Merge pull request #35 from alpmestan/static_files_shahn
...
Static files shahn
2014-11-14 11:12:47 +01:00
Julian K. Arni
108f24a5e7
Allow comments in API QQ.
...
Closes #29 .
2014-11-13 18:22:26 +01:00
Sönke Hahn
49c301d26e
html's verbatim is called pre
2014-11-13 20:50:36 +08:00
Sönke Hahn
286b1db836
Client Raw: returns Right (status, body)
even for failure statuses
2014-11-13 20:36:36 +08:00
Sönke Hahn
eff31f7485
implemented 'instance HasClient Raw'
2014-11-13 19:57:53 +08:00
Sönke Hahn
8d92d66e00
refactored Servant.Docs.ToSample
2014-11-13 19:55:03 +08:00
Alp Mestanogullari
4f62dceb78
Merge pull request #34 from alpmestan/jkarni/qq-parser
...
Switch to Parsec for QQ parsing
2014-11-13 11:59:30 +01:00