Commit 4448c417 authored by admin_forge's avatar admin_forge
Browse files

Merge branch 'develop' into 'master'

STF593 - Milestone A - Merge v2.1.1 to Master branch

See merge request !3
parents 6bafe099 6f63f4de
Loading
Loading
Loading
Loading
Loading
+8 −6
Changes for .jenkins.sh: 8 added lines, 6 removed lines.
Original line number Diff line number Diff line
#!/bin/bash

specfiles=$(ls | egrep "^[^.]*API.(json|yaml)")
specfiles=$(ls | egrep "^[^.]*.(json|yaml)")

fres=0
for i in $specfiles ; do
    echo "-- Validating OpenAPI file $i..."
    swagger-tools validate $i
    echo "-- Validating and linting OpenAPI file $i..."
    swagger-cli validate $i
    res=$?
    fres=$(($fres||$res))
    echo -e "-- Validator returned $res.\n"
    speccy lint "$i"
    res2=$?
    fres=$(($fres||$res||$res2))
    echo "--- Validator returned $res, linter returned $res2."
done

echo "-- Final validator returns $fres."

exit $fres
+3733 −1030

File changed.

Preview size limit exceeded, changes collapsed.

−50

File deleted.

+2736 −815

File changed.

Preview size limit exceeded, changes collapsed.

+2 −3
Changes for README.md: 2 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -4,9 +4,8 @@ This repository contains OpenAPIs descriptions for the interfaces specified in E

## Online resources

* [Specification document](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/01.01.01_60/gs_mec013v010101p.pdf)
* [Navigate the API in the browser](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs013-location-api/raw/master/LocationAPI.yaml).
* [Edit the API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/gitlab/mec/gs013-location-api/raw/master/LocationAPI.yaml).
* [Navigate the API in the browser](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs013-location-api/raw/stf593/LocationAPI.yaml).
* [Edit the API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/gitlab/mec/gs013-location-api/raw/stf593/LocationAPI.yaml).

## License

Loading