Commit a3de0fc5 authored by Elian Kraja's avatar Elian Kraja
Browse files

Merge branch 'stf606-draft' into 'stf606-final'

Update editor and validation tools

See merge request !5
parents 5714be21 5ff2b263
Loading
Loading
Loading
Loading
Loading

.jenkins.sh

deleted100644 → 0
+0 −19
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 validation returns $fres."

exit $fres
+2 −2
Original line number Diff line number Diff line
@@ -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

+3 −1
Original line number Diff line number Diff line
@@ -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"
+3 −1
Original line number Diff line number Diff line
@@ -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: