Commits (4)
#!/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
...@@ -4,8 +4,8 @@ This repository contains OpenAPIs descriptions for the interfaces specified in E ...@@ -4,8 +4,8 @@ This repository contains OpenAPIs descriptions for the interfaces specified in E
## Online resources ## 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). * [Specification Document](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/014/02.01.01_60/gs_MEC014v020101p.pdf)
* [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). * [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 ## License
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
"$ref": "#/components/parameters/Path.AppInstanceId" "$ref": "#/components/parameters/Path.AppInstanceId"
}], }],
"get": { "get": {
"summary": "Retrieves information about a specific UeIdentityTagInfo resource",
"description": "Retrieves information about a specific UeIdentityTagInfo resource", "description": "Retrieves information about a specific UeIdentityTagInfo resource",
"operationId": "UeIdentityTagInfo_GET", "operationId": "UeIdentityTagInfo_GET",
"tags": [ "tags": [
...@@ -64,7 +65,8 @@ ...@@ -64,7 +65,8 @@
} }
}, },
"put": { "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", "operationId": "UeIdentityTagInfo_PUT",
"tags": [ "tags": [
"ueIdentityTagInfo" "ueIdentityTagInfo"
......
...@@ -23,6 +23,7 @@ paths: ...@@ -23,6 +23,7 @@ paths:
parameters: parameters:
- $ref: "#/components/parameters/Path.AppInstanceId" - $ref: "#/components/parameters/Path.AppInstanceId"
get: get:
summary: Retrieves information about a specific UeIdentityTagInfo resource
description: Retrieves information about a specific UeIdentityTagInfo resource description: Retrieves information about a specific UeIdentityTagInfo resource
operationId: UeIdentityTagInfo_GET operationId: UeIdentityTagInfo_GET
tags: tags:
...@@ -44,7 +45,8 @@ paths: ...@@ -44,7 +45,8 @@ paths:
"404": "404":
$ref: '#/components/responses/Error.404' $ref: '#/components/responses/Error.404'
put: 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 resource
operationId: UeIdentityTagInfo_PUT operationId: UeIdentityTagInfo_PUT
tags: tags:
......