Return schema in VNFPackageManagement shouldn't be nested in properties
In branches 2.8.1, 2.7.1-maintenance , 2.6.1-maintenance, the return schema in 3 operations is wrongfully nested compared to the spec. This:
schema:
properties:
VnfPkgInfoModifications:
$ref: "definitions/SOL005VNFPackageManagement_def.yaml#/definitions/VnfPkgInfoModifications"
Should be like this:
schema:
$ref: "definitions/SOL005VNFPackageManagement_def.yaml#/definitions/VnfPkgInfoModifications"
Here's a patch for it for branch 2.7.1-maintenance:
diff --git a/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml b/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml
index f53a644..69ab3a1 100644
--- a/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml
+++ b/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml
@@ -401,9 +401,7 @@ paths:
maximum: 1
minimum: 1
schema:
- properties:
- VnfPkgInfoModifications:
- $ref: "definitions/SOL005VNFPackageManagement_def.yaml#/definitions/VnfPkgInfoModifications"
+ $ref: "definitions/SOL005VNFPackageManagement_def.yaml#/definitions/VnfPkgInfoModifications"
400:
$ref: "../responses/SOL005_resp.yaml#/responses/400"
401:
@@ -648,9 +646,7 @@ paths:
maximum: 1
minimum: 1
schema:
- properties:
- ExternalArtifactsAccessConfig:
- $ref: "definitions/SOL005VNFPackageManagement_def.yaml#/definitions/ExternalArtifactsAccessConfig"
+ $ref: "definitions/SOL005VNFPackageManagement_def.yaml#/definitions/ExternalArtifactsAccessConfig"
416:
$ref: "../responses/SOL005_resp.yaml#/responses/416"
400:
@@ -731,9 +727,7 @@ paths:
maximum: 1
minimum: 1
schema:
- properties:
- ExternalArtifactsAccessConfig:
- $ref: "definitions/SOL005VNFPackageManagement_def.yaml#/definitions/ExternalArtifactsAccessConfig"
+ $ref: "definitions/SOL005VNFPackageManagement_def.yaml#/definitions/ExternalArtifactsAccessConfig"
202:
$ref: "../responses/SOL005_resp.yaml#/responses/202"
400:
Edited by kaidos