yesod-raml-bin: The raml helper executable.

[ mit, program, web, yesod ] [ Propose Tags ]

Provides html documentation and route file generator

[Skip to Readme]
Versions [RSS] [faq] 0.1.0, 0.1.1, 0.1.2
Change log
Dependencies base (==4.*), blaze-html, blaze-markup, bytestring, containers, http-types, optparse-applicative, shakespeare, template-haskell, text, wai, warp, yaml, yesod-core, yesod-markdown, yesod-raml (==0.2.*), yesod-raml-docs (==0.1.*), yesod-raml-mock (==0.1.*) [details]
License MIT
Author junji.hashimoto
Category Web, Yesod
Bug tracker
Source repo head: git clone
Uploaded by junjihashimoto at 2015-11-10T01:25:45Z
Distributions NixOS:0.1.2
Executables yesod-raml-bin
Downloads 1564 total (16 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2015-11-14 [all 5 reports]


Maintainer's Corner

For package maintainers and hackage trustees


Readme for yesod-raml-bin-0.1.2

[back to package description]


Yesod-Raml-Bin is a utility program for yesod-raml. The functions are below.

  • Verify RAML format
  • Convert RAML to HTML
  • Convert RAML to Yesod-Route file
  • Generate mock-handler code
  • Run mock server


Verify RAML file. (Curretly just use parser of Data.Yaml.)

> yesod-raml-bin verfiy "raml file"

Convert RAML to HTML.

> yesod-raml-bin tohtml "raml file" "html file"

Generate routes file for Yesod.

> yesod-raml-bin toroute "raml file" "routes file"

Generate mock-handler code

> yesod-raml-bin tomock "raml file" "haskell mock code"

Run mock-server

> yesod-raml-bin mock-server -p "port(default: 3000)" "raml file"