summaryrefslogtreecommitdiffstats
path: root/vpp-integration/api-docs/core
diff options
context:
space:
mode:
Diffstat (limited to 'vpp-integration/api-docs/core')
-rw-r--r--vpp-integration/api-docs/core/src/main/java/io/fd/hc2vpp/docs/core/YangTypeLinkIndex.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpp-integration/api-docs/core/src/main/java/io/fd/hc2vpp/docs/core/YangTypeLinkIndex.java b/vpp-integration/api-docs/core/src/main/java/io/fd/hc2vpp/docs/core/YangTypeLinkIndex.java
index e0c2b5022..b4002b636 100644
--- a/vpp-integration/api-docs/core/src/main/java/io/fd/hc2vpp/docs/core/YangTypeLinkIndex.java
+++ b/vpp-integration/api-docs/core/src/main/java/io/fd/hc2vpp/docs/core/YangTypeLinkIndex.java
@@ -49,7 +49,7 @@ public class YangTypeLinkIndex {
final String namespace = qname.getNamespace().toString();
- final String formattedRevision = qname.getFormattedRevision();
+ final String formattedRevision = qname.getRevision().get().toString();
final String model = modelTypeIndex.namespaceToModule(namespace, formattedRevision);
return modelLinkIndex.linkForModel(model, formattedRevision);
}