Currently RestDefinition methods:
- type(Class<?> classType)
- outType(Class<?> classType)
use the methods setType, setOutType from VerbDefinition that accept a string instead of their variants that accept the class or should at least use both variants if they are really needed.
The reason for opening this that setting the class name only in verb definition, in my OSGI application, causes ClassNotFoundException in RestBindingReifier#setupJson.
As a workaround at the moment, after configuring the RestDefinition object I retrieve the VerbDefinitions in it and set the typeClass and outTypeClass manually there.