Commits (5)
#!/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
## 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
......
......@@ -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"
......
......@@ -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:
......