docs: readme

This commit is contained in:
Orion Kindel
2025-03-01 16:43:19 -06:00
parent 731a70a02c
commit fc46660c56

View File

@@ -23,7 +23,7 @@ getPersonAddress _ (Path id) = ...
`POST /persons` accepting a json body:
```purs
type Person = {firstName: String, lastName: String, age: Maybe Int}
type Person = { firstName :: String, lastName :: String, age :: Maybe Int }
postPerson :: Post -> Path "persons" Unit -> ContentType Json -> Json Person -> Aff Response
postPerson _ _ person = ...