Found it:

interface FairService {
	
    @method(HTTPMethod.GET) @path("hash/:id") string test(string _id);
	
}

class SequenceResource : FairService {
	
    string test(string _id) {
        return "Test: " ~ _id;
    }
}

Duh!