Loading .jenkins.shdeleted 100644 → 0 +0 −18 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 validator returns $fres." exit $fres README.md +3 −3 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
.jenkins.shdeleted 100644 → 0 +0 −18 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 validator returns $fres." exit $fres
README.md +3 −3 Original line number Diff line number Diff line Loading @@ -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 Loading