aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-01-15 01:46:02 +0000
committerGregor Kleen <gkleen@yggdrasil.li>2016-01-15 01:46:02 +0000
commit2fdb1bbdeb6fd30ea7011a98c818d0c8b3e83278 (patch)
treeb2fcbbb0363480f8e8906c95730a205e37173669 /spec
parent010dcfd8daa87a14b19ceebac83b6a84285d632f (diff)
downloadthermoprint-2fdb1bbdeb6fd30ea7011a98c818d0c8b3e83278.tar
thermoprint-2fdb1bbdeb6fd30ea7011a98c818d0c8b3e83278.tar.gz
thermoprint-2fdb1bbdeb6fd30ea7011a98c818d0c8b3e83278.tar.bz2
thermoprint-2fdb1bbdeb6fd30ea7011a98c818d0c8b3e83278.tar.xz
thermoprint-2fdb1bbdeb6fd30ea7011a98c818d0c8b3e83278.zip
minor documentation
Diffstat (limited to 'spec')
-rw-r--r--spec/src/Thermoprint/API.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/src/Thermoprint/API.hs b/spec/src/Thermoprint/API.hs
index e77f406..49cccf5 100644
--- a/spec/src/Thermoprint/API.hs
+++ b/spec/src/Thermoprint/API.hs
@@ -2,6 +2,7 @@
2{-# LANGUAGE TypeOperators, DataKinds #-} 2{-# LANGUAGE TypeOperators, DataKinds #-}
3{-# LANGUAGE OverloadedStrings #-} 3{-# LANGUAGE OverloadedStrings #-}
4 4
5-- ^ A specification of an API for interacting with a set of printers
5module Thermoprint.API 6module Thermoprint.API
6 ( PrinterStatus(..) 7 ( PrinterStatus(..)
7 , JobStatus(..) 8 , JobStatus(..)
@@ -65,4 +66,5 @@ type ThermoprintAPI = "printers" :> Get '[JSON] (Set PrinterId)
65 ) 66 )
66 67
67thermoprintAPI :: Proxy ThermoprintAPI 68thermoprintAPI :: Proxy ThermoprintAPI
69-- ^ Servant occasionally needs an object of this type
68thermoprintAPI = Proxy 70thermoprintAPI = Proxy