bavadim / play-raml   0.6

Apache License 2.0 GitHub

Sbt plugin for RAML route defenition

Scala versions: 2.10
sbt plugins: 0.13

play-raml

play-raml is a sbt plugin for play framework 2.4, which replaces the default routes definition syntax used in conf/routes with RAML 0.8. This plugin inspired by sbt-play-raml.

Usage

  • add the following lines to your sbt plugins file project/plugins.sbt:

      addSbtPlugin("bavadim" % "play-raml" % "0.6")
    
  • create your RAML routes file in conf/api.raml

  • add controller reference in first row of HTTP method description:

      /:
        get:
          description: |
            @controllers.Application.index