Commit 04cae8f7 authored by Walter Featherstone's avatar Walter Featherstone

Added README & Jenkins schema validation script

Change-Id: Ifc5254ff7621c19315ff939063d421d16cab537f
Signed-off-by: Walter Featherstone's avatarfeatherstone <walter.featherstone@viavisolutions.com>
parent 107ac3a1
#!/bin/bash
specfiles=$(ls | egrep "^[^.]*Api.(json|yaml)")
fres=0
for i in $specfiles ; do
echo "-- Validating OpenAPI file $i..."
swagger-tools validate $i
res=$?
fres=$(($fres||$res))
echo -e "-- Validator returned $res.\n"
done
echo "-- Final validator returns $fres."
exit $fres
\ No newline at end of file
# UE Application Interface API
This repository contains OpenAPIs descriptions for the interfaces specified in ETSI GS MEC 016.
## Online resources
* [Navigate the API in the browser](https://forge.etsi.org/rep/gitweb.cgi/MEC.GS_016.git/blob/HEAD:/UEAppInterfaceApi.yaml#swagger).
* [Edit the API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/rep/gitweb.cgi/MEC.GS_016.git/blob_plain/HEAD:/UEAppInterfaceApi.yaml).
## ETSI Forge Copyright statement
Copyright (c) ETSI 2018.
This software is subject to copyrights owned by ETSI. Non-exclusive permission
is hereby granted, free of charge, to copy, reproduce and amend this file
under the following conditions: It is provided "as is", without warranty of any
kind, expressed or implied.
ETSI shall never be liable for any claim, damages, or other liability arising
from its use or inability of use.This permission does not apply to any documentation
associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
software and shall not imply any sub-license right.
Markdown is supported
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