Merge "Update to Latest ETSI Catalog Swagger"
authorByung-Woo Jun <byung-woo.jun@est.tech>
Thu, 23 Jan 2020 14:13:48 +0000 (14:13 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 23 Jan 2020 14:13:48 +0000 (14:13 +0000)
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"
+          }
         }
       }
     },