Update ETSI Catalog Swagger to latest and Add Notification Swagger 12/99812/2
authorrope252 <gareth.roper@est.tech>
Wed, 18 Dec 2019 14:58:09 +0000 (14:58 +0000)
committerGareth Roper <gareth.roper@est.tech>
Thu, 19 Dec 2019 16:23:29 +0000 (16:23 +0000)
Change-Id: Ic2f904a82c3c37e81732d198958b662f01a2d89e
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 514029b..efd4270 100644 (file)
             }
           }
         },
+        "produces": ["application/octet-stream", "application/json"],
         "tags": ["NSD Management interface"]
       },
       "put": {
               "$ref": "#/definitions/PkgmSubscription"
             }
           },
+          "400": {
+            "description": "",
+            "schema": {
+              "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
+            }
+          },
           "500": {
-            "description": "Internal error"
+            "description": "",
+            "schema": {
+              "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
+            }
           }
         },
         "tags": ["VNF Package Management interface"]
             }
           }
         },
+        "produces": ["application/octet-stream", "application/json"],
         "tags": ["VNF Package Management interface"]
       },
       "parameters": [{
             }
           }
         },
+        "produces": ["application/octet-stream", "application/json"],
         "tags": ["VNF Package Management interface"]
       },
       "put": {
             }
           }
         },
+        "produces": ["application/octet-stream", "application/json"],
         "tags": ["VNF Package Management interface"]
       },
       "parameters": [{
       }
     },
     "vnfProductsProviders": {
-      "title": "Vnfproductsfromproviders",
-      "description": "Match VNF packages that contain VNF products from certain providers.",
       "required": ["vnfProvider"],
       "type": "object",
       "properties": {
           }
         },
         "vnfProductsFromProviders": {
-          "$ref": "#/definitions/vnfProductsProviders"
+          "description": "Match VNF packages that contain VNF products from certain providers.",
+          "type": "array",
+          "items": {
+            "$ref": "#/definitions/vnfProductsProviders"
+          }
         },
         "vnfdId": {
           "description": "Match VNF packages with a VNFD identifierlisted in the attribute",