From c25610b61b055c0ee8d1e8fe075af4b78fd620d0 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Tue, 12 Apr 2022 17:40:37 +0500 Subject: [PATCH 1/3] add the required summary fields to fix redoc linter validation --- UEidentityAPI.json | 4 +++- UEidentityAPI.yaml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/UEidentityAPI.json b/UEidentityAPI.json index 0ec806c..780123e 100644 --- a/UEidentityAPI.json +++ b/UEidentityAPI.json @@ -33,6 +33,7 @@ "$ref": "#/components/parameters/Path.AppInstanceId" }], "get": { + "summary": "Retrieves information about a specific UeIdentityTagInfo resource", "description": "Retrieves information about a specific UeIdentityTagInfo resource", "operationId": "UeIdentityTagInfo_GET", "tags": [ @@ -64,7 +65,8 @@ } }, "put": { - "description": "Register/De-register the information about specific a UeIdentityTagInfo resource", + "summary": "Register/De-register the information about a specific UeIdentityTagInfo resource", + "description": "Register/De-register the information about a specific UeIdentityTagInfo resource", "operationId": "UeIdentityTagInfo_PUT", "tags": [ "ueIdentityTagInfo" diff --git a/UEidentityAPI.yaml b/UEidentityAPI.yaml index 862206f..923b503 100644 --- a/UEidentityAPI.yaml +++ b/UEidentityAPI.yaml @@ -23,6 +23,7 @@ paths: parameters: - $ref: "#/components/parameters/Path.AppInstanceId" get: + summary: Retrieves information about a specific UeIdentityTagInfo resource description: Retrieves information about a specific UeIdentityTagInfo resource operationId: UeIdentityTagInfo_GET tags: @@ -44,7 +45,8 @@ paths: "404": $ref: '#/components/responses/Error.404' put: - description: Register/De-register the information about specific a UeIdentityTagInfo + summary: Register/De-register the information about a specific UeIdentityTagInfo resource + description: Register/De-register the information about a specific UeIdentityTagInfo resource operationId: UeIdentityTagInfo_PUT tags: -- GitLab From 2588ed82de4f36e3daeafa109c19501121697108 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Wed, 13 Apr 2022 13:12:54 +0500 Subject: [PATCH 2/3] update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 207039a..17bd5cc 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ This repository contains OpenAPIs descriptions for the interfaces specified in E ## Online resources -* [Navigate the API in the browser](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/gitlab/mec/gs014-ue-identity-api/raw/stf606-final/UEidentityAPI.yaml). -* [Edit the API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/gitlab/mec/gs014-ue-identity-api/raw/stf606-final/UEidentityAPI.yaml). +* [Specification Document](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/014/02.01.01_60/gs_MEC014v020101p.pdf) +* [Navigate the API in the browser](https://redocly.github.io/redoc/?url=https://forge.etsi.org/gitlab/mec/gs014-ue-identity-api/raw/stf606-final/UEidentityAPI.yaml). ## License -- GitLab From 5ff2b263f3557a048a6051101d75c7ce1fc913b1 Mon Sep 17 00:00:00 2001 From: Laurent Velez Date: Wed, 13 Apr 2022 12:52:39 +0000 Subject: [PATCH 3/3] Delete .jenkins.sh as it uses a pipeline instead --- .jenkins.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .jenkins.sh diff --git a/.jenkins.sh b/.jenkins.sh deleted file mode 100644 index f546165..0000000 --- a/.jenkins.sh +++ /dev/null @@ -1,19 +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 validation returns $fres." - -exit $fres - -- GitLab