Update to Latest ETSI Catalog Swagger 79/100679/1
authorrope252 <gareth.roper@est.tech>
Thu, 23 Jan 2020 12:07:47 +0000 (12:07 +0000)
committerrope252 <gareth.roper@est.tech>
Thu, 23 Jan 2020 12:07:52 +0000 (12:07 +0000)
Change-Id: I51687625cbc7ac52d882fb58fc76a1875528d693
Issue-ID: SO-2578
Signed-off-by: rope252 <gareth.roper@est.tech>
adapters/mso-vnfm-adapter/mso-vnfm-adapter-ext-clients/src/main/resources/ETSI-Catalog-API.json

index efd4270..9827310 100644 (file)
       }
     },
     "Version": {
-      "title": "Versions",
-      "description": "match VNF packages that contain VNF products with certain versions",
       "required": ["vnfSoftwareVersion"],
       "type": "object",
       "properties": {
       }
     },
     "vnfProducts": {
-      "title": "Vnfproducts",
-      "description": "match VNF packages that contain VNF products with certain product names, from one particular provider",
       "required": ["vnfProductName"],
       "type": "object",
       "properties": {
           "minLength": 1
         },
         "versions": {
-          "$ref": "#/definitions/Version"
+          "description": "match VNF packages that contain VNF products with certain versions",
+          "type": "array",
+          "items": {
+            "$ref": "#/definitions/Version"
+          }
         }
       }
     },
           "minLength": 1
         },
         "vnfProducts": {
-          "$ref": "#/definitions/vnfProducts"
+          "description": "match VNF packages that contain VNF products with certain product names, from one particular provider",
+          "type": "array",
+          "items": {
+            "$ref": "#/definitions/vnfProducts"
+          }
         }
       }
     },