about summary refs log tree commit diff
path: root/website/sandbox/learnpianochords/src/server/API.hs
blob: aebfd92aab6cb1754a429a3768626d3558d07386 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TypeOperators #-}
--------------------------------------------------------------------------------
module API where
--------------------------------------------------------------------------------
import Servant.API

import qualified Types as T
--------------------------------------------------------------------------------

type API = "verify"
           :> ReqBody '[JSON] T.VerifyGoogleSignInRequest
           :> Post '[JSON] NoContent