Fix Xconnect example on web docs
Change-Id: I6f7b4f78b4dc6a1bc9daa1c7d60e37f46e758253
(cherry picked from commit ea5ea0128f6bac0b3ed1670cae71c83000807413)
diff --git a/apps/segmentrouting/web/src/main/resources/definitions/XconnectCreate.json b/apps/segmentrouting/web/src/main/resources/definitions/XconnectCreate.json
index 8d2099f..87a776c 100644
--- a/apps/segmentrouting/web/src/main/resources/definitions/XconnectCreate.json
+++ b/apps/segmentrouting/web/src/main/resources/definitions/XconnectCreate.json
@@ -4,7 +4,7 @@
"required": [
"deviceId",
"vlanId",
- "ports"
+ "endpoints"
],
"properties": {
"deviceId": {
@@ -17,7 +17,7 @@
"example": "94",
"description": "VLAN ID"
},
- "ports": {
+ "endpoints": {
"type": "array",
"items": {
"type": "int8",
@@ -26,4 +26,4 @@
"example": [1, 2]
}
}
-}
\ No newline at end of file
+}