Commit e9b6a4ef authored by Laurent Velez's avatar Laurent Velez
Browse files

Merge branch 'stf606-final' into 'master'

Update editor and validation tools

See merge request !13
parents 52a49882 d922d69b
Pipeline #11369 passed with stage
in 0 seconds
#!/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
......@@ -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/ui/?url=https://forge.etsi.org/rep/mec/gs012-rnis-api/raw/stf606-final/RniAPI.yaml).
* [Edit the API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/rep/mec/gs012-rnis-api/raw/stf606-final/RniAPI.yaml).
* [Specification Document](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)
* [Navigate the API in the browser](https://redocly.github.io/redoc/?url=https://forge.etsi.org/rep/mec/gs012-rnis-api/-/raw/v2.2.1/RniAPI.yaml)
## License
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment