Commit 923460cd authored by Laurent Velez's avatar Laurent Velez
Browse files

Merge branch 'stf606-final' into 'master'

Update editor and validation tools

See merge request !8
parents 3f90c9a8 f6d48038
Loading
Loading
Loading
Loading
Loading

.jenkins.sh

deleted100755 → 0
+0 −18
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
+6 −3
Original line number Diff line number Diff line
@@ -1546,7 +1546,8 @@
            "$ref": "#/components/schemas/AdjacentAppInfoSubscription.links"
          },
          "callbackReference": {
            "type": "uri",
            "type": "string",
            "format": "uri",
            "description": "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."
          },
          "requestTestNotification": {
@@ -1691,7 +1692,8 @@
        "properties": {
          "websocketUri": {
            "description": "Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications.",
            "type": "uri"
            "type": "string",
            "format": "uri"
          },
          "requestWebsocketUri": {
            "type": "boolean",
@@ -1711,7 +1713,8 @@
            "$ref": "#/components/schemas/MobilityProcedureSubscription.links"
          },
          "callbackReference": {
            "type": "uri",
            "type": "string",
            "format": "uri",
            "description": "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."
          },
          "requestTestNotification": {
+6 −3
Original line number Diff line number Diff line
@@ -1006,7 +1006,8 @@ components:
        _links:
          $ref: '#/components/schemas/AdjacentAppInfoSubscription.links'
        callbackReference:
          type: uri
          type: string
          format: uri
          description: 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.
        requestTestNotification:
          type: boolean
@@ -1111,7 +1112,8 @@ components:
      properties:
        websocketUri:
          description: Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications.
          type: uri
          type: string
          format: uri
        requestWebsocketUri:
          type: boolean
          description: Set to true by the service consumer to indicate that Websocket delivery is requested.
@@ -1126,7 +1128,8 @@ components:
        _links:
          $ref: '#/components/schemas/MobilityProcedureSubscription.links'
        callbackReference:
          type: uri
          type: string
          format: uri
          description: 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.
        requestTestNotification:
          type: boolean
+2 −2
Original line number Diff line number Diff line
@@ -5,8 +5,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/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/stf606-final/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/stf606-final/MEC021_AppMobilityService.yaml).
* [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/v2.2.1/MEC021_AppMobilityService.yaml).
* [Edit the Application Mobility Service API online](https://redocly.github.io/redoc/?url=https://forge.etsi.org/rep/mec/gs021-amsi-api/raw/v2.2.1/MEC021_AppMobilityService.yaml).

## License