Commit c6b25b4b authored by Walter Featherstone's avatar Walter Featherstone
Browse files

correct used oneOf for endpoint

parent dba74484
Loading
Loading
Loading
Loading
+26
Changes for Mp1.json: 26 added lines, 0 removed lines.
Original line number Original line Diff line number Diff line
@@ -728,14 +728,31 @@
      },
      },
      "EndPointInfo.Addresses": {
      "EndPointInfo.Addresses": {
        "description": "Entry point information of the service as one or more pairs of IP address and port",
        "description": "Entry point information of the service as one or more pairs of IP address and port",
        "type": "object",
        "required": [
          "addresses"
        ],
        "properties": {
          "addresses": {
            "type": "array",
            "type": "array",
            "minItems": 0,
            "items": {
            "items": {
              "$ref": "#/components/schemas/EndPointInfo.Address"
              "$ref": "#/components/schemas/EndPointInfo.Address"
            }
            }
          }
        }
      },
      },
      "EndPointInfo.Alternative": {
      "EndPointInfo.Alternative": {
        "description": "Entry point information of the service in a format defined by an implementation, or in an external specification.",
        "description": "Entry point information of the service in a format defined by an implementation, or in an external specification.",
        "type": "object",
        "required": [
          "alternative"
        ],
        "properties": {
          "alternative": {
            "type": "object"
            "type": "object"
          }
        }
      },
      },
      "EndPointInfo.Uri": {
      "EndPointInfo.Uri": {
        "description": "Entry point information of the service",
        "description": "Entry point information of the service",
@@ -745,10 +762,19 @@
      },
      },
      "EndPointInfo.Uris": {
      "EndPointInfo.Uris": {
        "description": "Entry point information of the service as string, formatted according to URI syntax",
        "description": "Entry point information of the service as string, formatted according to URI syntax",
        "type": "object",
        "required": [
          "uris"
        ],
        "properties": {
          "uris": {
            "type": "array",
            "type": "array",
            "minItems": 0,
            "items": {
            "items": {
              "$ref": "#/components/schemas/EndPointInfo.Uri"
              "$ref": "#/components/schemas/EndPointInfo.Uri"
            }
            }
          }
        }
      },
      },
      "LinkType": {
      "LinkType": {
        "description": "This type represents a type of link and may be referenced from data structures",
        "description": "This type represents a type of link and may be referenced from data structures",
+17
Changes for Mp1.yaml: 17 added lines, 0 removed lines.
Original line number Original line Diff line number Diff line
@@ -552,7 +552,13 @@ components:
      description: >-
      description: >-
        Entry point information of the service as one or more pairs of IP
        Entry point information of the service as one or more pairs of IP
        address and port
        address and port
      type: object
      required:
        - addresses
      properties:
        addresses:
          type: array
          type: array
          minItems: 0
          items:
          items:
            $ref: '#/components/schemas/EndPointInfo.Address'
            $ref: '#/components/schemas/EndPointInfo.Address'
    EndPointInfo.Alternative:
    EndPointInfo.Alternative:
@@ -560,6 +566,11 @@ components:
        Entry point information of the service in a format defined by an
        Entry point information of the service in a format defined by an
        implementation, or in an external specification.
        implementation, or in an external specification.
      type: object
      type: object
      required:
        - alternative
      properties: 
        alternative:
          type: object
    EndPointInfo.Uri:
    EndPointInfo.Uri:
      description: Entry point information of the service
      description: Entry point information of the service
      type: string
      type: string
@@ -569,7 +580,13 @@ components:
      description: >-
      description: >-
        Entry point information of the service as string, formatted according to
        Entry point information of the service as string, formatted according to
        URI syntax
        URI syntax
      type: object
      required:
        - uris
      properties:
        uris:
          type: array
          type: array
          minItems: 0
          items:
          items:
            $ref: '#/components/schemas/EndPointInfo.Uri'
            $ref: '#/components/schemas/EndPointInfo.Uri'
    LinkType:
    LinkType: