Update of Validation tools and editor

Merge request reports

Loading
+0 −0

File moved.

+0 −0

File moved.

.jenkins.sh

deleted100755 → 0
+0 −18
Changes for .jenkins.sh: 0 added lines, 18 removed lines.
Original line number Diff line number Diff line
#!/bin/bash

specfiles=$(ls | egrep "^[^.]*.(json|yaml)")

fres=0
for i in $specfiles ; do
    echo "-- Validating and linting OpenAPI file $i..."
    swagger-cli validate $i
    res=$?
    speccy lint "$i"
    res2=$?
    fres=$(($fres||$res||$res2))
    echo "--- Validator returned $res, linter returned $res2."
done

echo "-- Final validator returns $fres."
exit $fres
+1 −1
Changes for MEC010-2_AppGrant.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -893,7 +893,7 @@
          },
          "vimConnectionId": {
            "type": "string",
            "description": null
            "description": ""
          },
          "zoneId": {
            "type": "string",
+1 −1
Changes for MEC010-2_AppGrant.yaml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -633,7 +633,7 @@ components:
          description: Identifier of the connection to the VIM that manages the resource zone. The applicable "VimConnectionInfo" structure, which is referenced by vimConnectionId, can be obtained from the " vimConnectionInfo" attribute of the "AppInstanceInfo" structure.
        vimConnectionId: 
          type: string
          description: 
          description: ''
        zoneId:
          type: string
          description: The identifier of the resource zone, as managed by the resource management layer (typically, the VIM).
Loading
Loading