Hello,
Developing a custom snap that is an expression and accepts input schema.
This is how I defined my parameters/ functions :
@Inputs(min = 1, max = 1, accepts = {ViewType.DOCUMENT})
@Outputs(min = 1, max = 1, offers = {ViewType.DOCUMENT})
@Error...