Commit 3e677c52 authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

fix minor issues in definitions

parent 69d994d7
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@
        "serializers": {
          "type": "array",
          "items": {
            "type": "string"
            "$ref": "#/definitions/SerializerType"
          },
          "description": "Information about the serializers in this transport binding, as defined in the SerializerTypes type in ETSI GS MEC 011 [i.4]. Support for at least one of the entries is required in conjunction with the transport."
        },
@@ -142,6 +142,13 @@
        }
      }
    },
    "SerializerType": {
      "title": "SerializerType",
      "enum": ["JSON", "XML", "PROTOBUF3"],
      "type": "string",
      "description": "The enumeration SerializerType represents types of serializers. This enumeration shall be extensible.\nNOTE: The enumeration values above shall represent the serializers as defined by the referenced specifications. \n",
      "example": ["JSON"]
    },
    "TransportDescriptor": {
      "title": "TransportDescriptor",
      "required": ["name", "protocol", "security", "type", "version"],
@@ -170,7 +177,7 @@
          "description": "The version of the protocol used."
        },
        "implSpecificInfo": {
          "type": "object",
          "type": "string",
          "description": "Additional implementation specific details of the transport."
        }
      }
@@ -249,7 +256,7 @@
        "serializers": {
          "type": "array",
          "items": {
            "type": "string"
            "$ref": "#/definitions/SerializerType"
          },
          "description": "'Information about the serializers in this binding, as defined in the SerializerTypes type in ETSI GS MEC 011 '"
        }
+17 −5
Original line number Diff line number Diff line
@@ -108,11 +108,24 @@
        serializers:
          type: array
          items:
            type: string
            $ref: '#/definitions/SerializerType'
          description: Information about the serializers in this transport binding, as defined in the SerializerTypes type in ETSI GS MEC 011 [i.4]. Support for at least one of the entries is required in conjunction with the transport.
        transport:
          $ref: '#/definitions/TransportDescriptor'

    SerializerType:
      title: SerializerType
      enum:
      - JSON
      - XML
      - PROTOBUF3
      type: string
      description: |
        The enumeration SerializerType represents types of serializers. This enumeration shall be extensible.
        NOTE: The enumeration values above shall represent the serializers as defined by the referenced specifications. 
      example:
      - JSON

    TransportDescriptor:
      title: TransportDescriptor
      required:
@@ -140,7 +153,7 @@
          type: string
          description: The version of the protocol used.
        implSpecificInfo:
          type: object
          type: string
          description: Additional implementation specific details of the transport.

    SecurityInfo:
@@ -220,7 +233,7 @@
          serializers:
            type: array
            items:
              type: string
              $ref: '#/definitions/SerializerType'
            description: "'Information about the serializers in this binding, as defined in the SerializerTypes type in ETSI GS MEC 011 '"
        description: "'Indicates transports and serialization formats supported made available to the service-consuming application. Defaults to REST + JSON if absent.'"

@@ -511,4 +524,3 @@
      description: If it is per FLOW, the filter matches upstream (e.g. UE->EPC) packets and the downstream (e.g. EPC->UE) packets are handled by the same context.
      examples:
      - FLOW
 No newline at end of file