path

fnPathAttribute path(string data) @safe

Attibute to force a specific URL path.

This attribute can be applied either to an interface itself, in which case it defines the root path for all methods within it, or on any function, in which case it defines the relative path of this method. Path are always relative, even path on interfaces, as you can see in the example below.

See Also

rootPathFromName for automatic name generation.