Add CaptureAll to ComprehensiveAPI

This commit is contained in:
Arian van Putten 2016-07-04 14:38:00 +02:00 committed by Jonathan Lange
parent d945c99f82
commit b714640110

View File

@ -30,7 +30,8 @@ type ComprehensiveAPI =
Vault :> GET :<|>
Verb 'POST 204 '[JSON] NoContent :<|>
Verb 'POST 204 '[JSON] Int :<|>
WithNamedContext "foo" '[] GET
WithNamedContext "foo" '[] GET :<|>
CaptureAll "foo" Int :> GET
comprehensiveAPI :: Proxy ComprehensiveAPI
comprehensiveAPI = Proxy