Started by GitLab push by Laurent Velez Obtained Jenkinsfile.mec from git git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git Running in Durability level: MAX_SURVIVABILITY [Pipeline] node Running on build.forge.etsi.org in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-029 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git +refs/heads/*:refs/remotes/origin/* skipping resolution of commit remotes/origin/master, since it originates from another repository > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision a484d151c949a1378007eb79c025080544bde399 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f a484d151c949a1378007eb79c025080544bde399 Commit message: "Update cli-validate-openapis-mec.sh to exclude the definitions files (json/yaml) present in MEC10.2" > git rev-list --no-walk 2aabbb8d6f54e1d5b6d55c331fda9bd3814c08f9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] gitlabBuilds [Pipeline] { [Pipeline] stage [Pipeline] { (Resolve) [Pipeline] sh + echo Resolve stage Resolve stage [Pipeline] updateGitlabCommitStatus [Pipeline] dir Running in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-029/apis [Pipeline] { [Pipeline] checkout using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@forge.etsi.org:mec/gs029-fai-api.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:mec/gs029-fai-api.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:mec/gs029-fai-api.git +refs/heads/*:refs/remotes/origin/* > git rev-parse remotes/origin/master^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains 7d7cbed11d993a3316bbe353c1b37d60ef9270c1 # timeout=10 Checking out Revision 7d7cbed11d993a3316bbe353c1b37d60ef9270c1 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 7d7cbed11d993a3316bbe353c1b37d60ef9270c1 Commit message: "Merge branch 'stf606-final' into 'master'" > git rev-list --no-walk 7d7cbed11d993a3316bbe353c1b37d60ef9270c1 # timeout=10 [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-029/scripts [Pipeline] { [Pipeline] checkout using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git +refs/heads/*:refs/remotes/origin/* skipping resolution of commit remotes/origin/master, since it originates from another repository > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision a484d151c949a1378007eb79c025080544bde399 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f a484d151c949a1378007eb79c025080544bde399 Commit message: "Update cli-validate-openapis-mec.sh to exclude the definitions files (json/yaml) present in MEC10.2" [Pipeline] updateGitlabCommitStatus [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Validate) [Pipeline] updateGitlabCommitStatus [Pipeline] sh + echo Validate stage Validate stage [Pipeline] sh + bash ./scripts/cli-validate-openapis-mec.sh ./apis ------ Switching to ./apis folder -------- ------ Checking for previous logs ------ Found previous log. Removing it Using dockerized validator (etsiforge/swagger-cli:4.0.3) 4.0.3: Pulling from etsiforge/swagger-cli Digest: sha256:c6987d82d33715ec65ac79532768eb98152d83ed969754aa7f4a9344aea32d9a Status: Image is up to date for etsiforge/swagger-cli:4.0.3 docker.io/etsiforge/swagger-cli:4.0.3 ------ Validating all YAML files (may takes several minutes) ------ -- Final validator returns 1. Some errors found, see below the details. ---- Errors detected ---- ---- Validating MEC029_FAI.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC029_FAI.json... [1] ../specs/MEC029_FAI.json:1619:21 at #/components/schemas/DownloadDiagnostics/properties/downloadURI/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1617 | "description": "The URI for the device to perform the download on.", 1618 | "format": "uri", 1619 | "type": "uri", | ^^^^^ 1620 | "x-etsi-mec-cardinality": "0..1", 1621 | "x-etsi-mec-origin-type": "URI" Error was generated by the spec rule. [2] ../specs/MEC029_FAI.json:1073:9 at #/components/schemas/CableLineInfo.serviceFlowStats/ifIndex Property `ifIndex` is not expected here. 1071 | "serviceFlowInfo" 1072 | ], 1073 | "ifIndex": { | ^^^^^^^^^ 1074 | "description": "It represents the interface index of the MAC Domain of the Service Flow.", 1075 | "type": "string" Error was generated by the spec rule. [3] ../specs/MEC029_FAI.json:1077:9 at #/components/schemas/CableLineInfo.serviceFlowStats/serviceFlowInfo Property `serviceFlowInfo` is not expected here. 1075 | "type": "string" 1076 | }, 1077 | "serviceFlowInfo": { | ^^^^^^^^^^^^^^^^^ 1078 | "description": "It represents the information of a Service Flow.", 1079 | "type": "array", Error was generated by the spec rule. [4] ../specs/MEC029_FAI.json:2164:21 at #/components/schemas/SubscriptionLinkList.links.subscription/properties/href/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2162 | "description": "The URI referring to the subscription.", 2163 | "format": "uri", 2164 | "type": "uri", | ^^^^^ 2165 | "x-etsi-mec-cardinality": "1", 2166 | "x-etsi-mec-origin-type": "URI" Error was generated by the spec rule. [5] ../specs/MEC029_FAI.json:2005:21 at #/components/schemas/WebsockNotifConfig/properties/subscriptionType/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2003 | "subscriptionType": { 2004 | "description": "Set by FAIS to indicate to the service consumer the Websocket URI to be used for delivering notifications.", 2005 | "type": "uri" | ^^^^^ 2006 | }, 2007 | "requestWebsocketUri": { Error was generated by the spec rule. [6] ../specs/MEC029_FAI.json:1660:21 at #/components/schemas/ExpiryNotification.links/properties/self/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1658 | "description": "Self referring URI. This shall be included in the response from the FAIS. The URI shall be unique within the FAI API as i...<26 chars> 1659 | "format": "uri", 1660 | "type": "uri", | ^^^^^ 1661 | "x-etsi-mec-cardinality": "1", 1662 | "x-etsi-mec-origin-type": "URI" Error was generated by the spec rule. [7] ../specs/MEC029_FAI.json:27:5 at #/tags/0/description Tag object should contain `description` field. 25 | ], 26 | "tags": [ 27 | { | ^ 28 | "name": "Queries" | ^^^^^^^^^^^^^^^^^ 29 | }, | ^ 30 | { 31 | "name": "Subscription" Warning was generated by the tag-description rule. [8] ../specs/MEC029_FAI.json:30:5 at #/tags/1/description Tag object should contain `description` field. 28 | "name": "Queries" 29 | }, 30 | { | ^ 31 | "name": "Subscription" | ^^^^^^^^^^^^^^^^^^^^^^ 32 | }, | ^ 33 | { 34 | "name": "Cable line info" Warning was generated by the tag-description rule. [9] ../specs/MEC029_FAI.json:33:5 at #/tags/2/description Tag object should contain `description` field. 31 | "name": "Subscription" 32 | }, 33 | { | ^ 34 | "name": "Cable line info" | ^^^^^^^^^^^^^^^^^^^^^^^^^ 35 | }, | ^ 36 | { 37 | "name": "Optical network info" Warning was generated by the tag-description rule. [10] ../specs/MEC029_FAI.json:36:5 at #/tags/3/description Tag object should contain `description` field. 34 | "name": "Cable line info" 35 | }, 36 | { | ^ 37 | "name": "Optical network info" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 38 | } | ^ 39 | ], 40 | "paths": { Warning was generated by the tag-description rule. [11] ../specs/MEC029_FAI.json:535:17 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1callbackReference}/post/responses Operation must have at least one `4xx` response. 533 | } 534 | }, 535 | "responses": { | ^^^^^^^^^^^ 536 | "204": { 537 | "$ref": "#/components/responses/204" Warning was generated by the operation-4xx-response rule. [12] ../specs/MEC029_FAI.json:1025:7 at #/components/schemas/CableLineInfo.serviceFlowStats.serviceFlowInfo Component: "CableLineInfo.serviceFlowStats.serviceFlowInfo" is never used. 1023 | } 1024 | }, 1025 | "CableLineInfo.serviceFlowStats.serviceFlowInfo": { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1026 | "type": "object", 1027 | "required": [ Warning was generated by the no-unused-components rule. [13] ../specs/MEC029_FAI.json:1671:7 at #/components/schemas/ExpiryNotification Component: "ExpiryNotification" is never used. 1669 | "x-etsi-mec-cardinality": "1" 1670 | }, 1671 | "ExpiryNotification": { | ^^^^^^^^^^^^^^^^^^^^ 1672 | "properties": { 1673 | "_links": { Warning was generated by the no-unused-components rule. [14] ../specs/MEC029_FAI.json:2208:7 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 2206 | "x-etsi-ref": "6.3.5" 2207 | }, 2208 | "TestNotification": { | ^^^^^^^^^^^^^^^^^^ 2209 | "type": "object", 2210 | "required": [ Warning was generated by the no-unused-components rule. [15] ../specs/MEC029_FAI.json:2446:7 at #/components/responses/206 Component: "206" is never used. 2444 | "description": "No Content" 2445 | }, 2446 | "206": { | ^^^^^ 2447 | "description": "Partial content" 2448 | }, Warning was generated by the no-unused-components rule. [16] ../specs/MEC029_FAI.json:2499:7 at #/components/responses/409 Component: "409" is never used. 2497 | } 2498 | }, 2499 | "409": { | ^^^^^ 2500 | "description": "Conflict : The operation cannot be executed currently, due to a conflict with the state of the resource", 2501 | "content": { Warning was generated by the no-unused-components rule. s/MEC029_FAI.json: validated in 298ms ❌ Validation failed with 6 errors and 10 warnings. run `openapi lint --generate-ignore-file` to add all problems to the ignore file. ---- Validating MEC029_FAI.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC029_FAI.yaml... [1] ../specs/MEC029_FAI.yaml:1249:17 at #/components/schemas/DownloadDiagnostics/properties/downloadURI/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1247 | description: The URI for the device to perform the download on. 1248 | format: uri 1249 | type: uri | ^^^ 1250 | x-etsi-mec-cardinality: 0..1 1251 | x-etsi-mec-origin-type: URI Error was generated by the spec rule. [2] ../specs/MEC029_FAI.yaml:757:7 at #/components/schemas/CableLineInfo.serviceFlowStats/ifIndex Property `ifIndex` is not expected here. 755 | - ifIndex 756 | - serviceFlowInfo 757 | ifIndex: | ^^^^^^^ 758 | description: It represents the interface index of the MAC Domain of the Service Flow. 759 | type: string Error was generated by the spec rule. [3] ../specs/MEC029_FAI.yaml:760:7 at #/components/schemas/CableLineInfo.serviceFlowStats/serviceFlowInfo Property `serviceFlowInfo` is not expected here. 758 | description: It represents the interface index of the MAC Domain of the Service Flow. 759 | type: string 760 | serviceFlowInfo: | ^^^^^^^^^^^^^^^ 761 | description: It represents the information of a Service Flow. 762 | type: array Error was generated by the spec rule. [4] ../specs/MEC029_FAI.yaml:1741:17 at #/components/schemas/SubscriptionLinkList.links.subscription/properties/href/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1739 | description: The URI referring to the subscription. 1740 | format: uri 1741 | type: uri | ^^^ 1742 | x-etsi-mec-cardinality: "1" 1743 | x-etsi-mec-origin-type: URI Error was generated by the spec rule. [5] ../specs/MEC029_FAI.yaml:1603:17 at #/components/schemas/WebsockNotifConfig/properties/subscriptionType/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1601 | subscriptionType: 1602 | description: Set by FAIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. 1603 | type: uri | ^^^ 1604 | requestWebsocketUri: 1605 | description: Set to true by the service consumer to indicate that Websocket delivery is requested. Error was generated by the spec rule. [6] ../specs/MEC029_FAI.yaml:1292:17 at #/components/schemas/ExpiryNotification.links/properties/self/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1290 | description: Self referring URI. This shall be included in the response from the FAIS. The URI shall be unique within the FAI API as it a...<21 chars> 1291 | format: uri 1292 | type: uri | ^^^ 1293 | x-etsi-mec-cardinality: "1" 1294 | x-etsi-mec-origin-type: URI Error was generated by the spec rule. [7] ../specs/MEC029_FAI.yaml:19:5 at #/tags/0/description Tag object should contain `description` field. 17 | - url: "https://localhost/fai/v1" 18 | tags: 19 | - name: Queries | ^^^^^^^^^^^^^ 20 | - name: Subscription 21 | - name: "Cable line info" Warning was generated by the tag-description rule. [8] ../specs/MEC029_FAI.yaml:20:5 at #/tags/1/description Tag object should contain `description` field. 18 | tags: 19 | - name: Queries 20 | - name: Subscription | ^^^^^^^^^^^^^^^^^^ 21 | - name: "Cable line info" 22 | - name: "Optical network info" Warning was generated by the tag-description rule. [9] ../specs/MEC029_FAI.yaml:21:5 at #/tags/2/description Tag object should contain `description` field. 19 | - name: Queries 20 | - name: Subscription 21 | - name: "Cable line info" | ^^^^^^^^^^^^^^^^^^^^^^^ 22 | - name: "Optical network info" 23 | paths: Warning was generated by the tag-description rule. [10] ../specs/MEC029_FAI.yaml:22:5 at #/tags/3/description Tag object should contain `description` field. 20 | - name: Subscription 21 | - name: "Cable line info" 22 | - name: "Optical network info" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 23 | paths: 24 | /queries/fa_info: Warning was generated by the tag-description rule. [11] ../specs/MEC029_FAI.yaml:345:15 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1callbackReference}/post/responses Operation must have at least one `4xx` response. 343 | - $ref: "#/components/schemas/CmConnNotification" 344 | - $ref: "#/components/schemas/AniAlarmNotification" 345 | responses: | ^^^^^^^^^ 346 | "204": 347 | $ref: "#/components/responses/204" Warning was generated by the operation-4xx-response rule. [12] ../specs/MEC029_FAI.yaml:719:5 at #/components/schemas/CableLineInfo.serviceFlowStats.serviceFlowInfo Component: "CableLineInfo.serviceFlowStats.serviceFlowInfo" is never used. 717 | type: integer 718 | 719 | CableLineInfo.serviceFlowStats.serviceFlowInfo: | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 720 | type: object 721 | required: Warning was generated by the no-unused-components rule. [13] ../specs/MEC029_FAI.yaml:1299:5 at #/components/schemas/ExpiryNotification Component: "ExpiryNotification" is never used. 1297 | type: object 1298 | x-etsi-mec-cardinality: "1" 1299 | ExpiryNotification: | ^^^^^^^^^^^^^^^^^^ 1300 | properties: 1301 | _links: Warning was generated by the no-unused-components rule. [14] ../specs/MEC029_FAI.yaml:1773:5 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 1771 | x-etsi-ref: 6.3.5 1772 | 1773 | TestNotification: | ^^^^^^^^^^^^^^^^ 1774 | type: object 1775 | required: Warning was generated by the no-unused-components rule. [15] ../specs/MEC029_FAI.yaml:1992:5 at #/components/responses/206 Component: "206" is never used. 1990 | "204": 1991 | description: No Content 1992 | "206": | ^^^^^ 1993 | description: Partial content 1994 | "400": Warning was generated by the no-unused-components rule. [16] ../specs/MEC029_FAI.yaml:2024:5 at #/components/responses/409 Component: "409" is never used. 2022 | schema: 2023 | $ref: "#/components/schemas/ProblemDetails" 2024 | "409": | ^^^^^ 2025 | description: "Conflict : The operation cannot be executed currently, due to a conflict with the state of the resource" 2026 | content: Warning was generated by the no-unused-components rule. s/MEC029_FAI.yaml: validated in 264ms ❌ Validation failed with 6 errors and 10 warnings. run `openapi lint --generate-ignore-file` to add all problems to the ignore file. ---- Complete log of validation ---- ---- Validating MEC029_FAI.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC029_FAI.json... [1] ../specs/MEC029_FAI.json:1619:21 at #/components/schemas/DownloadDiagnostics/properties/downloadURI/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1617 | "description": "The URI for the device to perform the download on.", 1618 | "format": "uri", 1619 | "type": "uri", | ^^^^^ 1620 | "x-etsi-mec-cardinality": "0..1", 1621 | "x-etsi-mec-origin-type": "URI" Error was generated by the spec rule. [2] ../specs/MEC029_FAI.json:1073:9 at #/components/schemas/CableLineInfo.serviceFlowStats/ifIndex Property `ifIndex` is not expected here. 1071 | "serviceFlowInfo" 1072 | ], 1073 | "ifIndex": { | ^^^^^^^^^ 1074 | "description": "It represents the interface index of the MAC Domain of the Service Flow.", 1075 | "type": "string" Error was generated by the spec rule. [3] ../specs/MEC029_FAI.json:1077:9 at #/components/schemas/CableLineInfo.serviceFlowStats/serviceFlowInfo Property `serviceFlowInfo` is not expected here. 1075 | "type": "string" 1076 | }, 1077 | "serviceFlowInfo": { | ^^^^^^^^^^^^^^^^^ 1078 | "description": "It represents the information of a Service Flow.", 1079 | "type": "array", Error was generated by the spec rule. [4] ../specs/MEC029_FAI.json:2164:21 at #/components/schemas/SubscriptionLinkList.links.subscription/properties/href/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2162 | "description": "The URI referring to the subscription.", 2163 | "format": "uri", 2164 | "type": "uri", | ^^^^^ 2165 | "x-etsi-mec-cardinality": "1", 2166 | "x-etsi-mec-origin-type": "URI" Error was generated by the spec rule. [5] ../specs/MEC029_FAI.json:2005:21 at #/components/schemas/WebsockNotifConfig/properties/subscriptionType/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2003 | "subscriptionType": { 2004 | "description": "Set by FAIS to indicate to the service consumer the Websocket URI to be used for delivering notifications.", 2005 | "type": "uri" | ^^^^^ 2006 | }, 2007 | "requestWebsocketUri": { Error was generated by the spec rule. [6] ../specs/MEC029_FAI.json:1660:21 at #/components/schemas/ExpiryNotification.links/properties/self/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1658 | "description": "Self referring URI. This shall be included in the response from the FAIS. The URI shall be unique within the FAI API as i...<26 chars> 1659 | "format": "uri", 1660 | "type": "uri", | ^^^^^ 1661 | "x-etsi-mec-cardinality": "1", 1662 | "x-etsi-mec-origin-type": "URI" Error was generated by the spec rule. [7] ../specs/MEC029_FAI.json:27:5 at #/tags/0/description Tag object should contain `description` field. 25 | ], 26 | "tags": [ 27 | { | ^ 28 | "name": "Queries" | ^^^^^^^^^^^^^^^^^ 29 | }, | ^ 30 | { 31 | "name": "Subscription" Warning was generated by the tag-description rule. [8] ../specs/MEC029_FAI.json:30:5 at #/tags/1/description Tag object should contain `description` field. 28 | "name": "Queries" 29 | }, 30 | { | ^ 31 | "name": "Subscription" | ^^^^^^^^^^^^^^^^^^^^^^ 32 | }, | ^ 33 | { 34 | "name": "Cable line info" Warning was generated by the tag-description rule. [9] ../specs/MEC029_FAI.json:33:5 at #/tags/2/description Tag object should contain `description` field. 31 | "name": "Subscription" 32 | }, 33 | { | ^ 34 | "name": "Cable line info" | ^^^^^^^^^^^^^^^^^^^^^^^^^ 35 | }, | ^ 36 | { 37 | "name": "Optical network info" Warning was generated by the tag-description rule. [10] ../specs/MEC029_FAI.json:36:5 at #/tags/3/description Tag object should contain `description` field. 34 | "name": "Cable line info" 35 | }, 36 | { | ^ 37 | "name": "Optical network info" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 38 | } | ^ 39 | ], 40 | "paths": { Warning was generated by the tag-description rule. [11] ../specs/MEC029_FAI.json:535:17 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1callbackReference}/post/responses Operation must have at least one `4xx` response. 533 | } 534 | }, 535 | "responses": { | ^^^^^^^^^^^ 536 | "204": { 537 | "$ref": "#/components/responses/204" Warning was generated by the operation-4xx-response rule. [12] ../specs/MEC029_FAI.json:1025:7 at #/components/schemas/CableLineInfo.serviceFlowStats.serviceFlowInfo Component: "CableLineInfo.serviceFlowStats.serviceFlowInfo" is never used. 1023 | } 1024 | }, 1025 | "CableLineInfo.serviceFlowStats.serviceFlowInfo": { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1026 | "type": "object", 1027 | "required": [ Warning was generated by the no-unused-components rule. [13] ../specs/MEC029_FAI.json:1671:7 at #/components/schemas/ExpiryNotification Component: "ExpiryNotification" is never used. 1669 | "x-etsi-mec-cardinality": "1" 1670 | }, 1671 | "ExpiryNotification": { | ^^^^^^^^^^^^^^^^^^^^ 1672 | "properties": { 1673 | "_links": { Warning was generated by the no-unused-components rule. [14] ../specs/MEC029_FAI.json:2208:7 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 2206 | "x-etsi-ref": "6.3.5" 2207 | }, 2208 | "TestNotification": { | ^^^^^^^^^^^^^^^^^^ 2209 | "type": "object", 2210 | "required": [ Warning was generated by the no-unused-components rule. [15] ../specs/MEC029_FAI.json:2446:7 at #/components/responses/206 Component: "206" is never used. 2444 | "description": "No Content" 2445 | }, 2446 | "206": { | ^^^^^ 2447 | "description": "Partial content" 2448 | }, Warning was generated by the no-unused-components rule. [16] ../specs/MEC029_FAI.json:2499:7 at #/components/responses/409 Component: "409" is never used. 2497 | } 2498 | }, 2499 | "409": { | ^^^^^ 2500 | "description": "Conflict : The operation cannot be executed currently, due to a conflict with the state of the resource", 2501 | "content": { Warning was generated by the no-unused-components rule. s/MEC029_FAI.json: validated in 298ms ❌ Validation failed with 6 errors and 10 warnings. run `openapi lint --generate-ignore-file` to add all problems to the ignore file. ---- Validating MEC029_FAI.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC029_FAI.yaml... [1] ../specs/MEC029_FAI.yaml:1249:17 at #/components/schemas/DownloadDiagnostics/properties/downloadURI/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1247 | description: The URI for the device to perform the download on. 1248 | format: uri 1249 | type: uri | ^^^ 1250 | x-etsi-mec-cardinality: 0..1 1251 | x-etsi-mec-origin-type: URI Error was generated by the spec rule. [2] ../specs/MEC029_FAI.yaml:757:7 at #/components/schemas/CableLineInfo.serviceFlowStats/ifIndex Property `ifIndex` is not expected here. 755 | - ifIndex 756 | - serviceFlowInfo 757 | ifIndex: | ^^^^^^^ 758 | description: It represents the interface index of the MAC Domain of the Service Flow. 759 | type: string Error was generated by the spec rule. [3] ../specs/MEC029_FAI.yaml:760:7 at #/components/schemas/CableLineInfo.serviceFlowStats/serviceFlowInfo Property `serviceFlowInfo` is not expected here. 758 | description: It represents the interface index of the MAC Domain of the Service Flow. 759 | type: string 760 | serviceFlowInfo: | ^^^^^^^^^^^^^^^ 761 | description: It represents the information of a Service Flow. 762 | type: array Error was generated by the spec rule. [4] ../specs/MEC029_FAI.yaml:1741:17 at #/components/schemas/SubscriptionLinkList.links.subscription/properties/href/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1739 | description: The URI referring to the subscription. 1740 | format: uri 1741 | type: uri | ^^^ 1742 | x-etsi-mec-cardinality: "1" 1743 | x-etsi-mec-origin-type: URI Error was generated by the spec rule. [5] ../specs/MEC029_FAI.yaml:1603:17 at #/components/schemas/WebsockNotifConfig/properties/subscriptionType/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1601 | subscriptionType: 1602 | description: Set by FAIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. 1603 | type: uri | ^^^ 1604 | requestWebsocketUri: 1605 | description: Set to true by the service consumer to indicate that Websocket delivery is requested. Error was generated by the spec rule. [6] ../specs/MEC029_FAI.yaml:1292:17 at #/components/schemas/ExpiryNotification.links/properties/self/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1290 | description: Self referring URI. This shall be included in the response from the FAIS. The URI shall be unique within the FAI API as it a...<21 chars> 1291 | format: uri 1292 | type: uri | ^^^ 1293 | x-etsi-mec-cardinality: "1" 1294 | x-etsi-mec-origin-type: URI Error was generated by the spec rule. [7] ../specs/MEC029_FAI.yaml:19:5 at #/tags/0/description Tag object should contain `description` field. 17 | - url: "https://localhost/fai/v1" 18 | tags: 19 | - name: Queries | ^^^^^^^^^^^^^ 20 | - name: Subscription 21 | - name: "Cable line info" Warning was generated by the tag-description rule. [8] ../specs/MEC029_FAI.yaml:20:5 at #/tags/1/description Tag object should contain `description` field. 18 | tags: 19 | - name: Queries 20 | - name: Subscription | ^^^^^^^^^^^^^^^^^^ 21 | - name: "Cable line info" 22 | - name: "Optical network info" Warning was generated by the tag-description rule. [9] ../specs/MEC029_FAI.yaml:21:5 at #/tags/2/description Tag object should contain `description` field. 19 | - name: Queries 20 | - name: Subscription 21 | - name: "Cable line info" | ^^^^^^^^^^^^^^^^^^^^^^^ 22 | - name: "Optical network info" 23 | paths: Warning was generated by the tag-description rule. [10] ../specs/MEC029_FAI.yaml:22:5 at #/tags/3/description Tag object should contain `description` field. 20 | - name: Subscription 21 | - name: "Cable line info" 22 | - name: "Optical network info" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 23 | paths: 24 | /queries/fa_info: Warning was generated by the tag-description rule. [11] ../specs/MEC029_FAI.yaml:345:15 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1callbackReference}/post/responses Operation must have at least one `4xx` response. 343 | - $ref: "#/components/schemas/CmConnNotification" 344 | - $ref: "#/components/schemas/AniAlarmNotification" 345 | responses: | ^^^^^^^^^ 346 | "204": 347 | $ref: "#/components/responses/204" Warning was generated by the operation-4xx-response rule. [12] ../specs/MEC029_FAI.yaml:719:5 at #/components/schemas/CableLineInfo.serviceFlowStats.serviceFlowInfo Component: "CableLineInfo.serviceFlowStats.serviceFlowInfo" is never used. 717 | type: integer 718 | 719 | CableLineInfo.serviceFlowStats.serviceFlowInfo: | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 720 | type: object 721 | required: Warning was generated by the no-unused-components rule. [13] ../specs/MEC029_FAI.yaml:1299:5 at #/components/schemas/ExpiryNotification Component: "ExpiryNotification" is never used. 1297 | type: object 1298 | x-etsi-mec-cardinality: "1" 1299 | ExpiryNotification: | ^^^^^^^^^^^^^^^^^^ 1300 | properties: 1301 | _links: Warning was generated by the no-unused-components rule. [14] ../specs/MEC029_FAI.yaml:1773:5 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 1771 | x-etsi-ref: 6.3.5 1772 | 1773 | TestNotification: | ^^^^^^^^^^^^^^^^ 1774 | type: object 1775 | required: Warning was generated by the no-unused-components rule. [15] ../specs/MEC029_FAI.yaml:1992:5 at #/components/responses/206 Component: "206" is never used. 1990 | "204": 1991 | description: No Content 1992 | "206": | ^^^^^ 1993 | description: Partial content 1994 | "400": Warning was generated by the no-unused-components rule. [16] ../specs/MEC029_FAI.yaml:2024:5 at #/components/responses/409 Component: "409" is never used. 2022 | schema: 2023 | $ref: "#/components/schemas/ProblemDetails" 2024 | "409": | ^^^^^ 2025 | description: "Conflict : The operation cannot be executed currently, due to a conflict with the state of the resource" 2026 | content: Warning was generated by the no-unused-components rule. s/MEC029_FAI.yaml: validated in 264ms ❌ Validation failed with 6 errors and 10 warnings. run `openapi lint --generate-ignore-file` to add all problems to the ignore file. ------ Content of the folder ------ LICENSE MEC029_FAI.json MEC029_FAI.yaml openapi-validation.log proto3 README.md [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] updateGitlabCommitStatus [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // gitlabBuilds [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE