CONSUMES_PUT_POST.add("application/xml");
}
+ private OperationBuilder() {
+
+ }
+
public static class Get {
protected Operation spec;
spec.setMethod(METHOD_NAME);
spec.setNickname(METHOD_NAME + "-" + node.getQName().getLocalName());
spec.setType((isConfig ? CONFIG : OPERATIONAL) + node.getQName().getLocalName());
- spec.setNotes(node.getDescription());
+ spec.setNotes(node.getDescription().orElse(null));
}
public Get pathParams(final List<Parameter> params) {