Commit a1cf4a09 authored by Walter Featherstone's avatar Walter Featherstone
Browse files

Added README & Jenkins schema validation script



Change-Id: I00f7c1068a2307080dddc110a08e205550f65979
Signed-off-by: Walter Featherstone's avatarfeatherstone <walter.featherstone@viavisolutions.com>
parent e519a6e9
#!/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
# Bandwidth Management API
This repository contains OpenAPIs descriptions for the interfaces specified in ETSI GS MEC 015.
## Online resources
* [Navigate the API in the browser](https://forge.etsi.org/rep/gitweb.cgi/MEC.GS_015.git/blob/HEAD:/BwManagementApi.yaml#swagger).
* [Edit the API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/rep/gitweb.cgi/MEC.GS_015.git/blob_plain/HEAD:/BwManagementApi.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.
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