Test that no foreign functions are generated for an EmptyAPI
This commit is contained in:
parent
113561639a
commit
e73f00b333
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ type TestApi
|
|||
:<|> "test" :> QueryParams "params" Int :> ReqBody '[JSON] String :> Put '[JSON] NoContent
|
||||
:<|> "test" :> Capture "id" Int :> Delete '[JSON] NoContent
|
||||
:<|> "test" :> CaptureAll "ids" Int :> Get '[JSON] [Int]
|
||||
:<|> "test" :> EmptyAPI
|
||||
|
||||
testApi :: [Req String]
|
||||
testApi = listFromAPI (Proxy :: Proxy LangX) (Proxy :: Proxy String) (Proxy :: Proxy TestApi)
|
||||
|
|
Loading…
Reference in a new issue