The yesod-raml-bin package

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

Provides html documentation and route file generator


[Skip to Readme]

Properties

Versions 0.1.0, 0.1.1, 0.1.2
Change log ChangeLog.md
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
Maintainer junji.hashimoto@gmail.com
Category Web, Yesod
Bug tracker https://github.com/junjihashimoto/yesod-raml/issues
Source repository head: git clone https://github.com/junjihashimoto/yesod-raml.git
Uploaded Tue Nov 10 01:25:45 UTC 2015 by junjihashimoto
Distributions NixOS:0.1.2
Executables yesod-raml-bin
Downloads 196 total (3 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2015-11-14 [all 5 reports]
Hackage Matrix CI

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for yesod-raml-bin-0.1.2

[back to package description]

Yesod-Raml-Bin:

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

Usage

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"