Here, you specify that the RAML definition will be provided on the path "/docs".

Customization

If you want to display a definition edited manually, the RamlApplication can get it directly from files. To do that, you just have to override the method getRamlSpecificationRestlet() of class RamlApplication and make it return a custom Restlet.

I am using RAML java parser to get the definition from a file. You can get it here.