[odtn] optical-rest app. Fix in the json example file, to be consistent with the enum types ChannelSpacing and GridType.

Change-Id: I33c1571b55b484f82409f20cb921f7c0f5ca760c
diff --git a/apps/optical-rest/src/main/resources/definitions/CreateIntent.json b/apps/optical-rest/src/main/resources/definitions/CreateIntent.json
index 71ef183..5565a24 100644
--- a/apps/optical-rest/src/main/resources/definitions/CreateIntent.json
+++ b/apps/optical-rest/src/main/resources/definitions/CreateIntent.json
@@ -62,22 +62,23 @@
       "properties": {
         "channelSpacing": {
           "type": "string",
-          "example": "6.25"
+          "enum": ["CHL_100GHZ", "CHL_50GHZ", "CHL_25GHZ", "CHL_12P5GHZ", "CHL_6P25GHZ"],
+          "example": "CHL_50GHZ"
         },
         "gridType": {
           "type": "string",
-          "enum": ["dwdm", "cwdm", "flex"],
-          "example": "flex"
+          "enum": ["DWDM", "CWDM", "FLEX"],
+          "example": "DWDM"
         },
         "spacingMultiplier": {
           "type": "integer",
           "format": "int32",
-          "example": 1
+          "example": 12
         },
         "slotGranularity": {
           "type": "integer",
           "format": "int32",
-          "example": 1
+          "example": 4
         }
       }
     }