@Retention(value=RUNTIME)
@Target(value={METHOD,PARAMETER})
public @interface Id
This annotation should always be used on a method inside an interface
annotated with Vocabulary.Type
, or in an ActionRouter
method parameter representing
an ID.
A PathIdentifierMapper
for the
ID type must exist for Apio to automatically convert it from the request.