From af819da17cebdf5a2fc442a4612c3482bcb1cfe1 Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 11 Apr 2022 19:15:10 +0200 Subject: [PATCH 1/3] Made fixes based on linter errors. --- MEC021_AppMobilityService.json | 9 ++++++--- MEC021_AppMobilityService.yaml | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/MEC021_AppMobilityService.json b/MEC021_AppMobilityService.json index 8459765..e6e7d59 100644 --- a/MEC021_AppMobilityService.json +++ b/MEC021_AppMobilityService.json @@ -1546,7 +1546,8 @@ "$ref": "#/components/schemas/AdjacentAppInfoSubscription.links" }, "callbackReference": { - "type": "uri", + "type": "string", + "format": "uri", "description": "URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response." }, "requestTestNotification": { @@ -1691,7 +1692,8 @@ "properties": { "websocketUri": { "description": "Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications.", - "type": "uri" + "type": "string", + "format": "uri" }, "requestWebsocketUri": { "type": "boolean", @@ -1711,7 +1713,8 @@ "$ref": "#/components/schemas/MobilityProcedureSubscription.links" }, "callbackReference": { - "type": "uri", + "type": "string", + "format": "uri", "description": "URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response." }, "requestTestNotification": { diff --git a/MEC021_AppMobilityService.yaml b/MEC021_AppMobilityService.yaml index 1af920c..4451221 100644 --- a/MEC021_AppMobilityService.yaml +++ b/MEC021_AppMobilityService.yaml @@ -1006,7 +1006,8 @@ components: _links: $ref: '#/components/schemas/AdjacentAppInfoSubscription.links' callbackReference: - type: uri + type: string + format: uri description: URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. requestTestNotification: type: boolean @@ -1111,7 +1112,8 @@ components: properties: websocketUri: description: Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications. - type: uri + type: string + format: uri requestWebsocketUri: type: boolean description: Set to true by the service consumer to indicate that Websocket delivery is requested. @@ -1126,7 +1128,8 @@ components: _links: $ref: '#/components/schemas/MobilityProcedureSubscription.links' callbackReference: - type: uri + type: string + format: uri description: URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. requestTestNotification: type: boolean -- GitLab From c6da03364fac1bfa4c2551f9614d68b88a2766eb Mon Sep 17 00:00:00 2001 From: Laurent Velez Date: Wed, 13 Apr 2022 12:51:10 +0000 Subject: [PATCH 2/3] Delete .jenkins.sh as it uses a pipeline instead --- .jenkins.sh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 .jenkins.sh diff --git a/.jenkins.sh b/.jenkins.sh deleted file mode 100755 index 74d0370..0000000 --- a/.jenkins.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/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 - -- GitLab From 0151ac3a890e77894cb6b48cb20290c03b2a6de1 Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Thu, 14 Apr 2022 13:52:14 +0000 Subject: [PATCH 3/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 24c4e35..73fc6be 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ This repository contains OpenAPIs descriptions for the interfaces specified in E ## Online resources * [Specification document](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_mec021v020101p.pdf) -* [Navigate the Application Mobility Service API in the browser](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/rep/mec/gs021-amsi-api/raw/stf606-final/MEC021_AppMobilityService.yaml). -* [Edit the Application Mobility Service API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/rep/mec/gs021-amsi-api/raw/stf606-final/MEC021_AppMobilityService.yaml). +* [Navigate the Application Mobility Service API in the browser](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/rep/mec/gs021-amsi-api/raw/v2.2.1/MEC021_AppMobilityService.yaml). +* [Edit the Application Mobility Service API online](https://redocly.github.io/redoc/?url=https://forge.etsi.org/rep/mec/gs021-amsi-api/raw/v2.2.1/MEC021_AppMobilityService.yaml). ## License -- GitLab