String label = InputComponents.getLabelFor(select, false); String description = select.getDescription(); if (!Strings.isNullOrEmpty(description))
private Object promptInputComponent(InputComponent<?, ?> input, Object componentValue) throws InterruptedException String label = InputComponents.getLabelFor(input, false); String description = input.getDescription(); if (!Strings.isNullOrEmpty(description))
.add("required", input.isRequired()) .add("deprecated", input.isDeprecated()) .add("label", InputComponents.getLabelFor(input, false)); addOptional(objBuilder, "description", input.getDescription()); addOptional(objBuilder, "note", input.getNote());