Merge "Update ETSI Catalog Swagger to latest and Add Notification Swagger"
authorByung-Woo Jun <byung-woo.jun@est.tech>
Fri, 20 Dec 2019 12:35:56 +0000 (12:35 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 20 Dec 2019 12:35:56 +0000 (12:35 +0000)
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",