blob: c40ef9063c9a99589c636f7913feb5ce331891ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{-# LANGUAGE DeriveGeneric #-}
module Sproxy.Application.Access
( Inquiry
, Question(..)
) where
import Data.Aeson (FromJSON)
import Data.HashMap.Strict (HashMap)
import Data.Text (Text)
import GHC.Generics (Generic)
data Question = Question
{ path :: Text
, method :: Text
} deriving (Generic, Show)
instance FromJSON Question
type Inquiry = HashMap Text Question
|