field.setDescription(param.getDescription());
field.setDataType(param.getSpecification().getShortIdentifier());
if (param instanceof ObjectMember) {
field.setHelpReference(((ObjectMember) param).getHelp());
} else {
final HelpFacet helpFacet = param.getFacet(HelpFacet.class);
final String value = helpFacet.value();
field.setHelpReference(value);
}
field.setRequired(isRequired);
field.setHidden(false);