@ Override public List < org . wisdom . api . router . Route > routes ( ) { // If documentation.standalone is not set to false, register a route on / if ( configuration . getBooleanWithDefault ( "documentation.standalone" , true ) ) { return ImmutableList . of ( new RouteBuilder ( ) . route ( HttpMethod . GET ) . on ( "/" ) . to ( this , "doc" ) ) ; } else { return Collections . emptyList ( ) ; } }
Default implementation of the routes method .