FailedConsole Output

+ bash ./scripts/cli-validate-openapis-mec.sh ./apis

------ Switching to ./apis folder --------
------ Checking for previous logs ------
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 ./MEC021_AppMobilityService.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC021_AppMobilityService.yaml... [1] ../specs/MEC021_AppMobilityService.yaml:1129:17 at #/components/schemas/MobilityProcedureSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1127 | $ref: '#/components/schemas/MobilityProcedureSubscription.links' 1128 | callbackReference: 1129 | type: uri | ^^^ 1130 | description: URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall b...<34 chars> 1131 | requestTestNotification: Error was generated by the spec rule. [2] ../specs/MEC021_AppMobilityService.yaml:1114:17 at #/components/schemas/WebsockNotifConfig/properties/websocketUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1112 | websocketUri: 1113 | description: Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications. 1114 | type: uri | ^^^ 1115 | requestWebsocketUri: 1116 | type: boolean Error was generated by the spec rule. [3] ../specs/MEC021_AppMobilityService.yaml:1009:17 at #/components/schemas/AdjacentAppInfoSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1007 | $ref: '#/components/schemas/AdjacentAppInfoSubscription.links' 1008 | callbackReference: 1009 | type: uri | ^^^ 1010 | description: URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall b...<34 chars> 1011 | requestTestNotification: Error was generated by the spec rule. [4] ../specs/MEC021_AppMobilityService.yaml:1242:5 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 1240 | description: The boundary value setting in the subscription request. 1241 | $ref: '#/components/schemas/TimeStamp' 1242 | TestNotification: | ^^^^^^^^^^^^^^^^ 1243 | title: TestNotification 1244 | required: Warning was generated by the no-unused-components rule. s/MEC021_AppMobilityService.yaml: validated in 241ms ❌ Validation failed with 3 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC021_AppMobilityService.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC021_AppMobilityService.json... [1] ../specs/MEC021_AppMobilityService.json:1714:21 at #/components/schemas/MobilityProcedureSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1712 | }, 1713 | "callbackReference": { 1714 | "type": "uri", | ^^^^^ 1715 | "description": "URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shal...<38 chars> 1716 | }, Error was generated by the spec rule. [2] ../specs/MEC021_AppMobilityService.json:1694:21 at #/components/schemas/WebsockNotifConfig/properties/websocketUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1692 | "websocketUri": { 1693 | "description": "Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications.", 1694 | "type": "uri" | ^^^^^ 1695 | }, 1696 | "requestWebsocketUri": { Error was generated by the spec rule. [3] ../specs/MEC021_AppMobilityService.json:1549:21 at #/components/schemas/AdjacentAppInfoSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1547 | }, 1548 | "callbackReference": { 1549 | "type": "uri", | ^^^^^ 1550 | "description": "URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shal...<38 chars> 1551 | }, Error was generated by the spec rule. [4] ../specs/MEC021_AppMobilityService.json:1871:7 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 1869 | } 1870 | }, 1871 | "TestNotification": { | ^^^^^^^^^^^^^^^^^^ 1872 | "title": "TestNotification", 1873 | "required": [ Warning was generated by the no-unused-components rule. s/MEC021_AppMobilityService.json: validated in 207ms ❌ Validation failed with 3 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.


---- Complete log of validation ----
---- Validating ./MEC021_AppMobilityService.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC021_AppMobilityService.yaml... [1] ../specs/MEC021_AppMobilityService.yaml:1129:17 at #/components/schemas/MobilityProcedureSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1127 | $ref: '#/components/schemas/MobilityProcedureSubscription.links' 1128 | callbackReference: 1129 | type: uri | ^^^ 1130 | description: URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall b...<34 chars> 1131 | requestTestNotification: Error was generated by the spec rule. [2] ../specs/MEC021_AppMobilityService.yaml:1114:17 at #/components/schemas/WebsockNotifConfig/properties/websocketUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1112 | websocketUri: 1113 | description: Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications. 1114 | type: uri | ^^^ 1115 | requestWebsocketUri: 1116 | type: boolean Error was generated by the spec rule. [3] ../specs/MEC021_AppMobilityService.yaml:1009:17 at #/components/schemas/AdjacentAppInfoSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1007 | $ref: '#/components/schemas/AdjacentAppInfoSubscription.links' 1008 | callbackReference: 1009 | type: uri | ^^^ 1010 | description: URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall b...<34 chars> 1011 | requestTestNotification: Error was generated by the spec rule. [4] ../specs/MEC021_AppMobilityService.yaml:1242:5 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 1240 | description: The boundary value setting in the subscription request. 1241 | $ref: '#/components/schemas/TimeStamp' 1242 | TestNotification: | ^^^^^^^^^^^^^^^^ 1243 | title: TestNotification 1244 | required: Warning was generated by the no-unused-components rule. s/MEC021_AppMobilityService.yaml: validated in 241ms ❌ Validation failed with 3 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC021_AppMobilityService.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC021_AppMobilityService.json... [1] ../specs/MEC021_AppMobilityService.json:1714:21 at #/components/schemas/MobilityProcedureSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1712 | }, 1713 | "callbackReference": { 1714 | "type": "uri", | ^^^^^ 1715 | "description": "URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shal...<38 chars> 1716 | }, Error was generated by the spec rule. [2] ../specs/MEC021_AppMobilityService.json:1694:21 at #/components/schemas/WebsockNotifConfig/properties/websocketUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1692 | "websocketUri": { 1693 | "description": "Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications.", 1694 | "type": "uri" | ^^^^^ 1695 | }, 1696 | "requestWebsocketUri": { Error was generated by the spec rule. [3] ../specs/MEC021_AppMobilityService.json:1549:21 at #/components/schemas/AdjacentAppInfoSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1547 | }, 1548 | "callbackReference": { 1549 | "type": "uri", | ^^^^^ 1550 | "description": "URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shal...<38 chars> 1551 | }, Error was generated by the spec rule. [4] ../specs/MEC021_AppMobilityService.json:1871:7 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 1869 | } 1870 | }, 1871 | "TestNotification": { | ^^^^^^^^^^^^^^^^^^ 1872 | "title": "TestNotification", 1873 | "required": [ Warning was generated by the no-unused-components rule. s/MEC021_AppMobilityService.json: validated in 207ms ❌ Validation failed with 3 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.


------ Content of the folder ------
LICENSE
MEC021_AppMobilityService.json
MEC021_AppMobilityService.yaml
openapi-validation.log
proto3
README.md