Class RestDocgenUtil


  • public final class RestDocgenUtil
    extends Object
    • Method Detail

      • resolvePathArgumentsName

        public static String resolvePathArgumentsName​(org.opendaylight.yangtools.yang.model.api.SchemaNode node,
                                                      org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext)
        Resolve path argument name for node.

        The name can contain also prefix which consists of module name followed by colon. The module prefix is presented if namespace of node and its parent is different. In other cases only name of node is returned.

        Returns:
        name of node
      • resolveNodesName

        public static String resolveNodesName​(org.opendaylight.yangtools.yang.model.api.SchemaNode node,
                                              org.opendaylight.yangtools.yang.model.api.Module module,
                                              org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext)