Commit cd7bdd3c authored by Mubeena Ishaq's avatar Mubeena Ishaq
Browse files

fix errors in OAS and json files

parent 6063b236
Loading
Loading
Loading
Loading
Loading
+19 −23
Original line number Diff line number Diff line
{
    "openapi": "3.1.0",
    "openapi": "3.0.0",
    "info": {
        "contact": {
            "url": "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api"
        },
        "version": "3.1.1",
        "title": "ETSI GS MEC 040 - MEC Federation enablement APIs",
        "description": "The ETSI MEC ISG MEC040 Federation enablement APIs described using OpenAPI",
        "description": "The ETSI MEC ISG MEC040 Federation enablement API described using OpenAPI",
        "license": {
            "name": "BSD-3-Clause",
            "url": "https://forge.etsi.org/legal-matters"
@@ -32,13 +32,13 @@
                ],
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Query.Systemid"
                        "$ref": "#/components/parameters/Query.systemId"
                    },
                    {
                        "$ref": "#/components/parameters/Query.Systemname"
                        "$ref": "#/components/parameters/Query.systemName"
                    },
                    {
                        "$ref": "#/components/parameters/Query.Systemprovider"
                        "$ref": "#/components/parameters/Query.systemProvider"
                    }
                ],
                "responses": {
@@ -133,7 +133,7 @@
                ],
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Query.Systemid"
                        "$ref": "#/components/parameters/Query.systemId"
                    }
                ],
                "responses": {
@@ -175,7 +175,7 @@
                ],
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Query.Systemid"
                        "$ref": "#/components/parameters/Query.systemId"
                    }
                ],
                "requestBody": {
@@ -233,7 +233,7 @@
                ],
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Query.Systemid"
                        "$ref": "#/components/parameters/Query.systemId"
                    }
                ],
                "responses": {
@@ -315,15 +315,14 @@
            "SystemInfoUpdate": {
                "title": "SystemInfoUpdate",
                "type": "object",
                "description": "This type represents an information provided by MEC orchestrator as a part of the \"Update of MEC system(s) to the federation\".",
                "description": "This type represents an information provided by MEC orchestrator as a part of the\n\"Update of MEC system(s) to the federation\".\n\nNOTE: At least one attribute shall exist.\n",
                "properties": {
                    "systemName": {
                        "description": "The name of the MEC system. This is how the MEC system identifies other MEC systems.",
                        "type": "string"
                    },
                    "endpoint": {
                        "$ref": "#/components/schemas/EndPointInfo",
                        "NOTE": "At least one attribute shall exist."
                        "$ref": "#/components/schemas/EndPointInfo"
                    }
                }
            },
@@ -457,9 +456,6 @@
            }
        },
        "responses": {
            "200": {
                "description": "OK"
            },
            "204": {
                "description": "No Content"
            },
@@ -505,12 +501,12 @@
            }
        },
        "parameters": {
            "Query.Systemid": {
            "Query.systemId": {
                "description": "Identifier of the MEC system.",
                "name": "systemid",
                "name": "systemId",
                "in": "query",
                "required": false,
                "x-exportParamName": "Query.Systemid",
                "x-exportParamName": "Query.systemId",
                "schema": {
                    "type": "array",
                    "items": {
@@ -518,12 +514,12 @@
                    }
                }
            },
            "Query.Systemname": {
            "Query.systemName": {
                "description": "The name of the MEC system.",
                "name": "systemname",
                "name": "systemName",
                "in": "query",
                "required": false,
                "x-exportParamName": "Query.Systemname",
                "x-exportParamName": "Query.systemName",
                "schema": {
                    "type": "array",
                    "items": {
@@ -531,12 +527,12 @@
                    }
                }
            },
            "Query.Systemprovider": {
            "Query.systemProvider": {
                "description": "Provider of the MEC system.",
                "name": "systemprovider",
                "name": "systemProvider",
                "in": "query",
                "required": false,
                "x-exportParamName": "Query.Systemprovider",
                "x-exportParamName": "Query.systemProvider",
                "schema": {
                    "type": "array",
                    "items": {
+22 −21
Original line number Diff line number Diff line
openapi: 3.1.0
openapi: 3.0.0
info:
  contact:
    url: https://forge.etsi.org/rep/mec/gs040-fed-enablement-api
  version: 3.1.1
  title: ETSI GS MEC 040 - MEC Federation enablement APIs
  description: The ETSI MEC ISG MEC040 Federation enablement APIs described using OpenAPI
  description: The ETSI MEC ISG MEC040 Federation enablement API described using OpenAPI
  license:
    name: BSD-3-Clause
    url: 'https://forge.etsi.org/legal-matters'
@@ -23,9 +23,9 @@ paths:
      tags:
      - systemInfo
      parameters:
      - $ref: '#/components/parameters/Query.Systemid'
      - $ref: '#/components/parameters/Query.Systemname'
      - $ref: '#/components/parameters/Query.Systemprovider'
      - $ref: '#/components/parameters/Query.systemId'
      - $ref: '#/components/parameters/Query.systemName'
      - $ref: '#/components/parameters/Query.systemProvider'
      responses:
        '200':
          description: It is used to indicate that the query for retrieving system_info resource(s) is successful. Response body containing one or multiple system_info resources shall be returned.
@@ -88,7 +88,7 @@ paths:
      tags:
      - systemInfo
      parameters:
      - $ref: '#/components/parameters/Query.Systemid'
      - $ref: '#/components/parameters/Query.systemId'
      responses:
        '200':
          description: It is used to indicate that the query for retrieving system_info resource is successful. Response body containing one system_info resource shall be returned.
@@ -114,7 +114,7 @@ paths:
      tags:
      - systemInfo
      parameters:
      - $ref: '#/components/parameters/Query.Systemid'
      - $ref: '#/components/parameters/Query.systemId'
      requestBody:
        description: It contains attributes to be update.
        required: true
@@ -150,7 +150,7 @@ paths:
      tags:
      - systemInfo
      parameters:
      - $ref: '#/components/parameters/Query.Systemid'
      - $ref: '#/components/parameters/Query.systemId'
      responses:
        '204':
          $ref: '#/components/responses/204'
@@ -208,7 +208,11 @@ components:
    SystemInfoUpdate:
      title: SystemInfoUpdate
      type: object
      description: This type represents an information provided by MEC orchestrator as a part of the "Update of MEC system(s) to the federation".
      description: | 
        This type represents an information provided by MEC orchestrator as a part of the
        "Update of MEC system(s) to the federation".

        NOTE: At least one attribute shall exist.
      properties:
        systemName:
          description: The name of the MEC system. This is how the MEC system identifies other MEC systems.
@@ -218,7 +222,6 @@ components:
          $ref: '#/components/schemas/EndPointInfo'
          # x-etsi-mec-origin-type': EndPointInfo
          # x-etsi-mec-cardinality': 0..1
          NOTE: At least one attribute shall exist.
    EndPointInfo:
      title: EndPointInfo
      type: string
@@ -323,8 +326,6 @@ components:
      required:
      - href
  responses:
    '200':
      description: OK
    '204':
      description: No Content
    '400':
@@ -352,32 +353,32 @@ components:
          schema:
            $ref: '#/components/schemas/ProblemDetails'
  parameters:
    Query.Systemid:
    Query.systemId:
      description: Identifier of the MEC system.
      name: systemid
      name: systemId
      in: query
      required: false
      x-exportParamName: Query.Systemid
      x-exportParamName: Query.systemId
      schema:
        type: array
        items:
          type: string
    Query.Systemname:
    Query.systemName:
      description: The name of the MEC system.
      name: systemname
      name: systemName
      in: query
      required: false
      x-exportParamName: Query.Systemname
      x-exportParamName: Query.systemName
      schema:
        type: array
        items:
          type: string
    Query.Systemprovider:
    Query.systemProvider:
      description: Provider of the MEC system.
      name: systemprovider
      name: systemProvider
      in: query
      required: false
      x-exportParamName: Query.Systemprovider
      x-exportParamName: Query.systemProvider
      schema:
        type: array
        items: