class ResourceToPartConverter implements Converter {

  @Override
  public Object convert(Object value) {
    // not set name, because not easy to get parameter name in this place
    // org.apache.servicecomb.common.rest.codec.param.RestClientRequestImpl not depend on the name
    return new ResourcePart(null, (Resource) value);
  }

}