Commit 012f1a6f authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

fix minor issues in AppGrant API

parent 3e677c52
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
    }
  },
  "externalDocs": {
    "description": "ETSI GS MEC 010-2 - Part 2: Application lifecycle, rules and requirements management, v3.1.1",
    "description": "ETSI GS MEC 010-2 - Part 2: Application lifecycle, rules and requirements management",
    "url": "https://www.etsi.org/deliver/etsi_gs/MEC/001_099/01002/03.01.01_60/gs_MEC01002v030101p.pdf"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
@@ -345,8 +345,8 @@
            "description": "Information about external VLs to connect the application instance to. See note 3."
          },
          "additionalParams": {
            "type": "object",
            "description": "'This data type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key-value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259'"
            "$ref": "#/components/schemas/KeyValuePair",
            "description": "MEPM, specific to the application and the LCM operation."
          },
          "_links": {
            "description": "Links to resources related to this request.",
@@ -474,11 +474,8 @@
            "description": "Provides the definitions of resources to be modified by the LCM operation which is related to this grant request, with one entry per resource."
          },
          "additionalParams": {
            "type": "string",
            "items": {
              "$ref": "#/components/schemas/KeyValuePair"
            },
            "description": "EPM, specific to the application and the LCM operation."
            "$ref": "#/components/schemas/KeyValuePair",
            "description": "MEPM, specific to the application and the LCM operation."
          },
          "_links": {
            "$ref": "#/components/schemas/GrantRequest.links"
@@ -526,6 +523,7 @@
        "description": "NOTE 1: At least one of \"macAddress\" or \"ipAddresses\" shall be present.\nNOTE 2: Exactly one of \"fixedAddresses\", \"numDynamicAddresses\" or \"ipAddressRange\" shall be present.\n"
      },
      "KeyValuePair": {
        "description": "This data type represents a list of key-value pairs. The order of the pairs in the list is not\nsignificant. In JSON, a set of key-value pairs is represented as an object. It shall comply with\nthe provisions defined in clause 4 of IETF RFC 8259.\n",
        "type": "object",
        "properties": {
          "key": {
+8 −6
Original line number Diff line number Diff line
@@ -294,8 +294,8 @@ components:
            $ref: "#/components/schemas/ExtVirtualLinkData"
          description: Information about external VLs to connect the application instance to. See note 3.
        additionalParams:
          type: object
          description: "'This data type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key-value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259'"
          $ref: '#/components/schemas/KeyValuePair'
          description: "MEPM, specific to the application and the LCM operation."
        _links:
          description: Links to resources related to this request.
          $ref: "#/components/schemas/Grant.links"
@@ -422,10 +422,8 @@ components:
            $ref: "#/components/schemas/ResourceDefinition"
          description: Provides the definitions of resources to be modified by the LCM operation which is related to this grant request, with one entry per resource.
        additionalParams:
          type: string
          items:
          $ref: '#/components/schemas/KeyValuePair'
          description: "EPM, specific to the application and the LCM operation."
          description: "MEPM, specific to the application and the LCM operation."
        _links:
          $ref: "#/components/schemas/GrantRequest.links"
      description: |
@@ -480,6 +478,10 @@ components:
        NOTE 2: Exactly one of "fixedAddresses", "numDynamicAddresses" or "ipAddressRange" shall be present.

    KeyValuePair:
      description: |
        This data type represents a list of key-value pairs. The order of the pairs in the list is not
        significant. In JSON, a set of key-value pairs is represented as an object. It shall comply with
        the provisions defined in clause 4 of IETF RFC 8259.
      type: object
      properties:
        key: