From 89000f3ade6842216d41ae1ae02339a9a5d3e9d3 Mon Sep 17 00:00:00 2001 From: featherstone Date: Fri, 1 Mar 2019 09:47:14 +0000 Subject: [PATCH] host and port are required for an EndPointInfo addresses array instance --- Mp1.json | 25 ++++--------------------- Mp1.yaml | 14 +++----------- 2 files changed, 7 insertions(+), 32 deletions(-) diff --git a/Mp1.json b/Mp1.json index ca1b0ab..fa8d90b 100644 --- a/Mp1.json +++ b/Mp1.json @@ -1313,12 +1313,6 @@ "endpoint": { "uris": [ "/meMp1/service/EntryPoint" - ], - "addresses": [ - { - "host": "192.0.2.0", - "port": 8080 - } ] }, "security": { @@ -1417,12 +1411,6 @@ "endpoint": { "uris": [ "/meMp1/service/EntryPoint" - ], - "addresses": [ - { - "host": "192.0.2.0", - "port": 8080 - } ] }, "security": { @@ -1553,12 +1541,6 @@ "endpoint": { "uris": [ "/meMp1/service/EntryPoint" - ], - "addresses": [ - { - "host": "192.0.2.0", - "port": 8080 - } ] }, "security": { @@ -1661,9 +1643,6 @@ "protocol": "HTTP", "version": "2.0", "endpoint": { - "uris": [ - "/meMp1/service/EntryPoint" - ], "addresses": [ { "host": "192.0.2.0", @@ -2168,6 +2147,10 @@ "EndPointInfo.Address": { "description": "A IP address and port pair", "type": "object", + "required": [ + "host", + "port" + ], "properties": { "host": { "$ref": "#/definitions/EndPointInfo.Address.Host" diff --git a/Mp1.yaml b/Mp1.yaml index 8994287..af82e2a 100644 --- a/Mp1.yaml +++ b/Mp1.yaml @@ -879,9 +879,6 @@ paths: endpoint: uris: - '/meMp1/service/EntryPoint' - addresses: - - host: '192.0.2.0' - port: 8080 security: oAuth2Info: grantTypes: 'OAUTH2_CLIENT_CREDENTIALS' @@ -948,9 +945,6 @@ paths: endpoint: uris: - '/meMp1/service/EntryPoint' - addresses: - - host: '192.0.2.0' - port: 8080 security: oAuth2Info: grantTypes: 'OAUTH2_CLIENT_CREDENTIALS' @@ -1032,9 +1026,6 @@ paths: endpoint: uris: - '/meMp1/service/EntryPoint' - addresses: - - host: '192.0.2.0' - port: 8080 security: oAuth2Info: grantTypes: 'OAUTH2_CLIENT_CREDENTIALS' @@ -1103,8 +1094,6 @@ paths: protocol: 'HTTP' version: '2.0' endpoint: - uris: - - '/meMp1/service/EntryPoint' addresses: - host: '192.0.2.0' port: 8080 @@ -1451,6 +1440,9 @@ definitions: EndPointInfo.Address: description: A IP address and port pair type: object + required: + - host + - port properties: host: $ref: '#/definitions/EndPointInfo.Address.Host' -- GitLab