Commit 06926489 authored by M. Rehan Abbasi's avatar M. Rehan Abbasi
Browse files

convert BWM and MTS APIs to OAS 3.1.0

parent b5ea1d10
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
{
{
  "openapi": "3.0.0",
  "openapi": "3.1.0",
  "info": {
  "info": {
    "contact": {
    "contact": {
      "url": "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api"
      "url": "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api"
+1 −1
Original line number Original line Diff line number Diff line
openapi: 3.0.0
openapi: 3.1.0
info:
info:
  contact:
  contact:
    url: https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api
    url: https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api
+13 −41
Original line number Original line Diff line number Diff line
{
{
  "openapi": "3.0.0",
  "openapi": "3.1.0",
  "info": {
  "info": {
    "contact": {
    "contact": {
      "url": "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api"
      "url": "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api"
@@ -29,9 +29,7 @@
  "paths": {
  "paths": {
    "/mts_capability_info": {
    "/mts_capability_info": {
      "get": {
      "get": {
        "tags": [
        "tags": ["mts"],
          "mts"
        ],
        "summary": "Retrieve the MTS capability informations",
        "summary": "Retrieve the MTS capability informations",
        "description": "Used to query information about the MTS information. Typically used in the 'Get MTS service Info from the MTS Service' procedure as described in clause 6.2.6.",
        "description": "Used to query information about the MTS information. Typically used in the 'Get MTS service Info from the MTS Service' procedure as described in clause 6.2.6.",
        "operationId": "mtsCapabilityInfoGET",
        "operationId": "mtsCapabilityInfoGET",
@@ -61,9 +59,7 @@
    },
    },
    "/mts_sessions": {
    "/mts_sessions": {
      "get": {
      "get": {
        "tags": [
        "tags": ["mts"],
          "mts"
        ],
        "summary": "Retrieve information about a list of MTS sessions",
        "summary": "Retrieve information about a list of MTS sessions",
        "description": "Retrieves information about a list of MTS sessions. Typically used in the 'Get configured MTS Session Info from the MTS Service' procedure as described in clause 6.2.10.",
        "description": "Retrieves information about a list of MTS sessions. Typically used in the 'Get configured MTS Session Info from the MTS Service' procedure as described in clause 6.2.10.",
        "operationId": "mtsSessionsListGET",
        "operationId": "mtsSessionsListGET",
@@ -104,9 +100,7 @@
        }
        }
      },
      },
      "post": {
      "post": {
        "tags": [
        "tags": ["mts"],
          "mts"
        ],
        "summary": "Create a MTS session",
        "summary": "Create a MTS session",
        "description": "Used to create a MTS session. This method is typically used in 'Register application to the MTS Service' procedure as described in clause 6.2.7.",
        "description": "Used to create a MTS session. This method is typically used in 'Register application to the MTS Service' procedure as described in clause 6.2.7.",
        "operationId": "mtsSessionPOST",
        "operationId": "mtsSessionPOST",
@@ -147,9 +141,7 @@
    },
    },
    "/mts_sessions/{sessionId}": {
    "/mts_sessions/{sessionId}": {
      "get": {
      "get": {
        "tags": [
        "tags": ["mts"],
          "mts"
        ],
        "summary": "Retrieve information about specific MTS session",
        "summary": "Retrieve information about specific MTS session",
        "description": "Retrieves information about an individual MTS session. Typically used in the 'Get configured MTS Session Info from the MTS Service' procedure as described in clause 6.2.10.",
        "description": "Retrieves information about an individual MTS session. Typically used in the 'Get configured MTS Session Info from the MTS Service' procedure as described in clause 6.2.10.",
        "operationId": "mtsSessionGET",
        "operationId": "mtsSessionGET",
@@ -181,9 +173,7 @@
        }
        }
      },
      },
      "put": {
      "put": {
        "tags": [
        "tags": ["mts"],
          "mts"
        ],
        "summary": "Update the information about specific MTS session",
        "summary": "Update the information about specific MTS session",
        "description": "Updates the information about an individual MTS session. As specified in ETSI GS MEC 009 [6], the PUT HTTP method has 'replace' semantics. ",
        "description": "Updates the information about an individual MTS session. As specified in ETSI GS MEC 009 [6], the PUT HTTP method has 'replace' semantics. ",
        "operationId": "mtsSessionPUT",
        "operationId": "mtsSessionPUT",
@@ -229,9 +219,7 @@
        }
        }
      },
      },
      "delete": {
      "delete": {
        "tags": [
        "tags": ["mts"],
          "mts"
        ],
        "summary": "Remove specific MTS session",
        "summary": "Remove specific MTS session",
        "description": "DELETE method is typically used in 'Unregister from the MTS Service' procedure as described in clause 6.2.8.",
        "description": "DELETE method is typically used in 'Unregister from the MTS Service' procedure as described in clause 6.2.8.",
        "operationId": "mtsSessionDELETE",
        "operationId": "mtsSessionDELETE",
@@ -378,11 +366,7 @@
                }
                }
              }
              }
            },
            },
            "required": [
            "required": ["accessId", "accessType", "metered"],
              "accessId",
              "accessType",
              "metered"
            ],
            "minItems": 1,
            "minItems": 1,
            "type": "array",
            "type": "array",
            "x-etsi-mec-cardinality": "1..N",
            "x-etsi-mec-cardinality": "1..N",
@@ -417,19 +401,13 @@
                "x-etsi-mec-origin-type": "Uint32"
                "x-etsi-mec-origin-type": "Uint32"
              }
              }
            },
            },
            "required": [
            "required": ["seconds", "nanoSeconds"],
              "seconds",
              "nanoSeconds"
            ],
            "type": "object",
            "type": "object",
            "x-etsi-mec-cardinality": "0..1",
            "x-etsi-mec-cardinality": "0..1",
            "x-etsi-mec-origin-type": "Structure (inlined)"
            "x-etsi-mec-origin-type": "Structure (inlined)"
          }
          }
        },
        },
        "required": [
        "required": ["mtsAccessInfo", "mtsMode"],
          "mtsAccessInfo",
          "mtsMode"
        ],
        "type": "object",
        "type": "object",
        "x-etsi-notes": "NOTE:\tA metered connection is a network connection that has a maximum data usage in a specific period, e.g. per hour/day/week/month. The user may get billed extra charges if they go over the allotted amount.",
        "x-etsi-notes": "NOTE:\tA metered connection is a network connection that has a maximum data usage in a specific period, e.g. per hour/day/week/month. The user may get billed extra charges if they go over the allotted amount.",
        "x-etsi-ref": "7.2.4"
        "x-etsi-ref": "7.2.4"
@@ -561,10 +539,7 @@
          },
          },
          "requestType": {
          "requestType": {
            "description": "Numeric value (0 - 255) corresponding to specific type of consumer as following: 0 = APPLICATION_SPECIFIC_MTS_SESSION 1 = FLOW_SPECIFIC_MTS_SESSION",
            "description": "Numeric value (0 - 255) corresponding to specific type of consumer as following: 0 = APPLICATION_SPECIFIC_MTS_SESSION 1 = FLOW_SPECIFIC_MTS_SESSION",
            "enum": [
            "enum": [0, 1],
              0,
              1
            ],
            "type": "integer",
            "type": "integer",
            "x-etsi-mec-cardinality": "1",
            "x-etsi-mec-cardinality": "1",
            "x-etsi-mec-origin-type": "Enum_inlined"
            "x-etsi-mec-origin-type": "Enum_inlined"
@@ -587,10 +562,7 @@
                "x-etsi-mec-origin-type": "Uint32"
                "x-etsi-mec-origin-type": "Uint32"
              }
              }
            },
            },
            "required": [
            "required": ["seconds", "nanoSeconds"],
              "seconds",
              "nanoSeconds"
            ],
            "type": "object",
            "type": "object",
            "x-etsi-mec-cardinality": "0..1",
            "x-etsi-mec-cardinality": "0..1",
            "x-etsi-mec-origin-type": "Structure (inlined)"
            "x-etsi-mec-origin-type": "Structure (inlined)"
+1 −1
Original line number Original line Diff line number Diff line
openapi: 3.0.0
openapi: 3.1.0
info:
info:
  contact:
  contact:
    url: https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api
    url: https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api