Skip to content

bavadim/play-raml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    

About

Sbt plugin for RAML route defenition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published