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.
-
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