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

Added README & Jenkins schema validation script



Change-Id: Iedec2c03a6c6898d5bcef5808e5b16445abc8142
Signed-off-by: default avatarfeatherstone <walter.featherstone@viavisolutions.com>
parent 09342c6f
Loading
Loading
Loading
Loading

.jenkins.sh

0 → 100644
+16 −0
Original line number Diff line number Diff line
#!/bin/bash

specfiles=$(ls | egrep -i "^[^.]*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

README.md

0 → 100644
+24 −0
Original line number Diff line number Diff line
# UE Identity API

This repository contains OpenAPIs descriptions for the interfaces specified in ETSI GS MEC 014.

## Online resources

* [Navigate the API in the browser](https://forge.etsi.org/rep/gitweb.cgi/MEC.GS_014.git/blob/HEAD:/UEidentityAPI.yaml#swagger).
* [Edit the API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/rep/gitweb.cgi/MEC.GS_014.git/blob_plain/HEAD:/UEidentityAPI.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.