Commit df50bcb6 authored by Elian Kraja's avatar Elian Kraja
Browse files

Merge branch 'stf593' into 'develop'

STF593 - Final draft merged to develop

See merge request !1
parents 1e353498 70ca800f
Loading
Loading
Loading
Loading
Loading

.jenkins.sh

0 → 100755
+18 −0
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
+1302 −0

File added.

Preview size limit exceeded, changes collapsed.

+953 −0

File added.

Preview size limit exceeded, changes collapsed.

+8 −0
Original line number Diff line number Diff line
@@ -2,7 +2,15 @@

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

## Online resources

* [Specification document](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_mec021v020101p.pdf)
* [Navigate the Application Mobility Service API in the browser](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/rep/mec/gs021-amsi-api/raw/stf593/MEC021_AppMobilityService.yaml).
* [Edit the Application Mobility Service API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/rep/mec/gs021-amsi-api/raw/stf593/MEC021_AppMobilityService.yaml).

## License 

Unless specified otherwise, the content of this repository and the files contained are released under the BSD-3-Clause license.
See the attached LICENSE file or visit https://forge.etsi.org/legal-matters.

+35 −0
Original line number Diff line number Diff line
/*
  ETSI GS MEC 021 Application Mobility Service API
 
  ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.
 
  The version of the OpenAPI document: 2.1.1
  
  Generated by OpenAPI Generator: https://openapi-generator.tech
*/

syntax = "proto3";

package mec021;

import public "models/adjacent_app_info_subscription_filter_criteria.proto";
import public "models/adjacent_app_info_subscription_links.proto";
import public "models/time_stamp.proto";

message AdjacentAppInfoSubscription {

  AdjacentAppInfoSubscriptionLinks underscorelinks = 1;

  // URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response.
  string callback_reference = 2;

  TimeStamp expiry_deadline = 3;

  AdjacentAppInfoSubscriptionFilterCriteria filter_criteria = 4;

  // Shall be set to \"AdjacentAppInfoSubscription\".
  enum SUBSCRIPTION_TYPE {
    ADJACENTAPPINFOSUBSCRIPTION = 0;
  }

}
Loading