raml-0.1.0: RESTful API Modeling Language (RAML) library for Haskell

Safe HaskellNone
LanguageHaskell2010

Web.Raml

Synopsis

Documentation

decode :: ByteString -> Either Error Raml Source

Deserialize a RAML document from a ByteString. If this fails due to incomplete or invalid input, 'Left e' is returned, containing an error message.

decodeFile :: String -> IO (Either Error Raml) Source

Deserialize a RAML document from a file. If this fails due to incomplete or invalid input, 'Left e' is returned, containing an error message.